Html miscellaneous


  1. CSSMin is written in ___________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    CSSMin is written in Java. It preforms conversion of lowercase, ordering of properties, replacement of names with numeric or hex equivalents. E.g. font-weight:bold can be written as font-weight: 600, color: black to color: #000.


  1. Which compressor gives maximum GZIPPED compression?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    YUI compressor gives maximum GZIPPED compression i.e. 21 out of 122. JSMin gives 23 out of 122, Closure(simple) gives 21 out of 122, Closure(advanced) gives 18 out of 122, Packer gives 23 out of 122. There is also redundancy due to GZIP compression.



  1. YUI compressor is written in ____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    YUI compressor is one of the best compressor. It is a command-line minifier which is written in Java. It can process CSS as well as JavaScript. It is simple to run it like-

    $java –jar /usr/local/bin//yuicompressor-2.3.5/build/yuicompressor-2.3.5.jar input.js > output.js


  1. Which one has the most potential for minification?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Among the four languages JavaScript, PHP, HTML and CSS, JavaScript has the most potential for minification. In JavaScript whitespaces and comments are removed. Windows-style line breaks (CRLF) is converted to UNIX-style breaks (LF). Moreover, variable names can also be shortened.



  1. For grouping form controls we can use ___________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    For grouping form controls together we use <fieldset> element. Fieldset is shown with a line around edge. Appearance can be adjusted by CSS.