Here we are going to see the basic syntax of HTML. HTML program must be written within <html> and </html> tags. The slash(/) inside the angular bracket indicates end of that particular tag.
HTML ELEMENTS:
- html
- head
- title
- body
HTML SYNTAX:
HTML SAMPLE PROGRAM:
HTML SAMPLE PROGRAM:
HTML SYNTAX |
COMMENTS IN HTML
Comments in html program is used to denote,for what purpose this or that particular line in the program is used. In the above sample program "<!--will be displayed in top of browser-->" is used to denote that title tag is used to display contents in top of the browser .
<!-- It is a comment statement -->
No comments:
Post a Comment