HTML SYNTAX - HTML TUTORIAL 2 STUDENTSBLOG100 - Anna University Multiple Choice Questions

HTML SYNTAX - HTML TUTORIAL 2 STUDENTSBLOG100

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:

OUTPUT:
HTML SYNTAX
HTML SYNTAX
HTML program has has two prominent parts,they are head and body.Inside the head part web browser header files elements such as title, meta information's are present and inside the body section web page elements are present.

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 -->

Lesson 1  Previous | Main Page | Next Lesson 3

No comments:

Post a Comment