Tuesday, December 18, 2018

Structure of HTML.

<STRUCTURE OF HTML>

 **HTML WRITTEN IN NOTEPAD.
 **SAVE HTML FILE= FILENAME.HTML

 **WE HAVE TWO TYPES OF TAGS IN HTML:-
:-OPENING TAG= <>
:-CLOSING TAG= </>
..............................................................
STRUCTURE:-

<HTML>
<HEAD>
<TITLE>
      Title of web page.
</TITLE>
</HEAD>
<BODY>
       Content of page.
</BODY>
</HTML>
.........................................................................
WORK OF HTML:-

  • <HTML>:-This tag indicate starting of program.
  • <HEAD>:-This selection often containing tag which are used to display the title of page.
  • <TITLE>:-This tag is used to display title at the top of the window.
  • </TITLE>:-It shows closing of title tag.
  • </HEAD>:-This show closing of head tag. if title tag is not close then program output will not accurate.
  • <BODY>:-The body section contains all the instruction which are used for actual page display.
  • </BODY>:-It indicate close of body tag.
  • </HTML>:-This shows closing of html tag which indicate ends of HTML program.


No comments:

Post a Comment

Internal Javascripts

Internal Javascripts :    The script code can be written directly into the HTML document. script code is placed in header of the docume...