.. .

Search:

G.Entp18's Articles in Programming

  • Principles Of HTML Code Optimization
    Notice that the Styles are created in the Head section of the page and then simply referenced in the Body section. As we add more formatting we would simply continue to refer to the previously created Styles.

    This is our Third Principle of Clean HTML Code: Use CSS styles when ever possible. CSS has several other benefits, such as being able to place the CSS styles in an external file, thereby reducing the page size even more, and the ability to quickly update formatting site-wide by simply updating the external CSS Style file.

    So with some simple cleaning of your HTML code you can easily reduce the file size and make a fast loading, lean and mean web page.

Powered by Article Dashboard