The main coding issues that have a direct but unwanted impact on your optimization processes are-
- An extremely high code to content ratio
- Search engines unable to index your pages properly due to errors ( invalid code can cause problems with the search engines )
- Placement of content within the code structure
- Heavy code creating slow downloads
External CSS refers to the placement of the styles that affect the whole site in an external file on the server and referenced from each individual page. Every page on the site will be affected by the changes made here.
Here is how you will modify the web page to reference the external CSS file-
<LINK REL=”stylesheet” HREF=”mystylesheet.css” TYPE=”text/css”>
Remember that the link tag must be in the head section of the page, and must come before any referenced to the set CSS styles. This is necessary to follow proper HTML coding.
This can be understood in a very simple manner- go through your page for the appearances of the <SCRIPT> tag. Then get rid of anything between that tag and the closing script tag. Then place it in a separate file before saving it. Then reference the file with a Script SRC tag.
Site Loads Faster
Make Multiple Changes At Once