<!–This is HTML comment this do not show anything in browser if you put in your code –>
<!– html comment starts with <!– and ends with –>
This is a comment this will not appear in browser anywhere. HTML comment is to indiciate or describe our code this will do nothing just reference. start with < ! — without spaces and ends with — > widhout spaces.
How to create html document.
Download an html editor if you dont have any my suggestion is notepad++ install in your computer. Open Notepad++ make a new File in Notepad++ save file with name chapter1.html
Now follow the code below and put in your document and save it and see how it works. I will share a live link as well below.
<!– HTML Starts here –>
<!–head Starts here–>
<!–Title starts here–>
<title>Web development Chapter 1</title>
<!–Title ends here–>
<!– Head Ends here –>
<!–Body starts here–>
<!–Body is a section which will appear in browser page to visitors–>
<!–H1 is a heading 1 . we have heaading from h1 to h6. H1 is bigger then all.–>
<h1>I am H1 heading</h1>
<h2>I am H2 heading</h2>
<h3>I am H3 heading</h3>
<h4>I am H4 heading</h4>
<h5>I am H5 heading</h5>
<h6>I am H6 heading</h6>
<!–spaces are ignored by browser in HTML–>
<!–Paragarphs defined in tag <p>–>
<p>I am a dummy paragraph i can define para graphs and text in html.I am a dummy paragraph i can define paragraphs and text in html.
<!–Line Break tag here–>
I am a dummy paragraph i can define paragraphs and text in html.I am a dummy paragraph i can define paragraphs and text in html.I am a dummy paragraph i can define paragraphs and text in html.I am a dummy paragraph i can define p
aragraphs and text in html.</p>
<h3>How to give space in text in HTML</h3>
<!– Spaces are defined in <pre> tag will not be ignored by browser anyhow.–>
i am ha wow I m A l i i a m s a i r a i c a
j q q e r z d r
<!–Horizontal ruler applied by <hr /> –>
<hr Color="#CCCCCC" size="15px" width="50%" />
<!–Body Ends here–>
<!– HTML Ends here –>
You can see live link of above code here. XHTML chapter 1
We are sorry that this post was not useful for you!
Let us improve this post!
Tell us how we can improve this post?