How to create html Heading or Tag and how to see html source code in web browser



1. Html Heading: Html heading satisfied 1 to 6 tags in a webpage or any website. There is <h1>, <h2>, <h3>, <h4>,<h5>, <h6>.  These tags are building heading in html webpage. The <h1> tag defines the first heading and <h6> tag defines the last tag in html webpage.
Example:
<h1>This is my 1st  heading</h1>
<h2>This is my 2nd  heading</h2>
<h3>This is my 3rd  heading</h3>
N:B: The web browsers atomically add some space in before and after each heading.

2. Headings are the most Important in a webpage: Use only html heading for any webpage. Don’t use heading tag for text bold or big. It is very sensitive for every web builder. The search engine like google can only find your webpage on the heading way or path. If you use heading in for text bold or big, users are not interested in your website.

3. Html Lines: The <hr> tag builds a horizontal line in an HTML page or a website.
The hr element or tag can be used to separate content and post.
 Examples:
<p>This is most important paragraph.</p>
<hr>
<p> This is most important paragraph.</p>
<hr>
<p> This is most important paragraph.</p>

4. HTML Comments: Comments can be choice full into the HTML code to make it more readable and comfortable. Comments are ignored by the browser and are not showable.
Comments are written like this tag or html code:
Example
<!-- This my first comment about the post or content -->

6. How to view HTML source: Have you seen a Web page and wondered "Hello! How did they do that?"
To find out, right-click in the page and select "View Source" (IE) or "View Page Source" (Firefox), or similar for other browsers. This will open a window containing the HTML code of the page.


Related Posts by Categories

0 comments:

Post a Comment

Blog Archive

Powered by Blogger.