- Use Correct Doctype
- Use Semantic code while htmlizing your website.
- Use Meta Content and Meta Keywords
- Use unique page titles
- Use SEO friendly page name or URL
- Use Alt tags for Images
- Use Heading Tags (e.g. H1, H2)
- Use Valid HTML and CSS Code (Make your code W3C Standard)
- Use Div based coding and avoid using Tables
- Make a Detailed Sitemap
- Use Breadcrumb
- Use Footer links
- Use Optimized images and code to make your web site load fast
- Use a meaningful and helpful 404 error page
A good HTML is the base of a beautiful website. A good CSS can only exist with similarly good HTML markup. The advantages of clean, semantic HTML are many, yet lots of websites suffer from badly written markup.
Let’s take a look at some points to improve your written HTML code.
2. Declare Character set just after the opening <head> tag.
3. Use properly encoded Special/funny characters like “&” for “&” instead.
4. Proper indentation of markup for readability of code.
6. Nest your tags properly.
7. Remove unnecessary divs/tags.
8. Use better naming conventions for CSS classes and ids.
9. Leave typography to the CSS (Text uppercase and lowercase etc.)
10. Apply unique class or id to the page content lies in the “body” tag.
11. Use heading tags like <h1>, <h2> etc. for page headings.
12. Validate your code using W3C validator tool.
13. Logical ordering of the sections of your website in code.
14. Just do what you can to make it right.
HTML (Hyper Text Markup Language) is a type of computer language that is primarily used for files that are posted on the internet and viewed by web browsers. All text, graphics and design elements of a web page are “tagged” with codes that instruct the web browser how to display the files. These files are easy to identify because they contain the file extension of ‘html’ or ‘htm’. HTML files provide layout and formatting information. There are many different software utilities and programs available to help web designer in generating HTML pages.
To convert a simple text file into HTML page we need to create tags that start and finish with angle brackets. To end the formatting or change to another format, the HTML developer types the first angle bracket, a backslash, then repeats the command and closes the bracket.
For example, <b>What is HTML?<b> is the code used to create the bold text.
There are different codes for all sorts of other formatting including italics, tables, paragraphs etc. The anchor or “A” tag is used to create hyperlinks to other pages.
Simple HTML document looks like:
This is my blog.