Headings Of Html:
In html documents headings play important role.Html Headings:
In html headings are defined with <h1> to <h6> tags.Important headings are define with <h1> tag,while <h6> defines the least.
Example:
And when you will see it in browser it will look like this:
Headings Are Important:
Html headings use only for headings,don't use it to make text big or bold.It is not to be use because search engines use your headings to index the structure and content of your web pages.
Users will skim your page by its headings and they will consider your web as jurk which is not good.
Main heading will be h1 and it will be followed by h2, then less important h3 and so on.
Html heading Rows Rule:
<hr> tag is used to create horizontal line in html page.hr element is used to seperate content.
Example:
Html <head> Element:
Html <hread> element do nothing with html headings.Html headings contain meta data and it is not displayed.
<head> element is palced between <html> tag.
Example:
Meta data is data about html document.
Html <title> Element:
Html <title> element is meta data.It define about html document title.Title will not be display in documents but might be seen in browser tab.
How To View Html Source:
When you open web page and wonder that how they have done this?To find, right click on the page in chrome browser or any other and select "View Page Source".This will open a window that will be containing Html code of that page.
No comments:
Post a Comment