Use HTML headings for headings only. Don't use headings to make text BIG or bold.
Search engines use your headings to index the structure and content of your web pages.
Since users may skim your pages by its headings, it is important to use headings to show the document structure.
Example 1:-
<h1> defines the most important heading. <h6> defines the least important heading. H1 headings should be used as main headings, followed by H2 headings, then the less
important H3 headings, and so on.
Example 2:-
Search engines use your headings to index the structure and content of your web pages.
Since users may skim your pages by its headings, it is important to use headings to show the document structure.
Example 1:-
- Open a text editor (Notepad is a common text editor for Windows users, Gedit for Linux users.)
- Type the following line in to the text editor.
- Save this file as "myweb3.html." (you can type any name but you must save that file name extention ".html")
eg:- home.html, index.html, john.html, etc. - Open that file (myweb3.html) in a web browser (Mozilla firefox, Internet Explorer, Opera, Safari, etc)
- You get like this out put
<h1> defines the most important heading. <h6> defines the least important heading. H1 headings should be used as main headings, followed by H2 headings, then the less
important H3 headings, and so on.
Example 2:-
- Open a text editor and type the following line in to the text editor.
- Save file.
- Open that file in a web browser.
- You get like this out put.
No comments:
Post a Comment