Html miscellaneous


  1. What is the work of Gzip compression?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Basically Gzip compression is used to compress text data in websites. Gzip compression is very useful in web performance optimization. It compresses web pages, JavaScript and CSS. Gzip is also one of the file formats. Gzip compression can be enabled via webserver configuration. Common webservers where it can me make enable is .htaccess, Nginx, Apache and Litspeed.


  1. 404 HTTP error is generated due to ____________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    HTTP 404 is an error which indicates that the client was able to communicate with the server but the server could not find the request. Due to missing of any file 404 error is generated, this is a taxing error for the page.



  1. What is the work of TTFB?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    TTFB stands for time to the first byte and measures the responsiveness of server. Its calculation is done as: process request time+ HTTP request time+ HTTP response time. This speed up the website by downloading various smaller images through sockets.


  1. For best speed position of JavaScript code should be at ______________.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    For better loading time of the page it is always recommended to put JavaScript code at the bottom of the main code of the page before </body> tag. CSS code should be at the beginning of the code.



  1. Which of the following is not render blocking resource?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    HTML, CSS and JavaScript are render blocking resources to the DOM. To enhance the speed of your web page these resources should be properly used.