0% found this document useful (0 votes)
9 views1 page

HTML Document Structure Guide

Uploaded by

S SMRITI
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views1 page

HTML Document Structure Guide

Uploaded by

S SMRITI
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

 Use <html>, <head>, and <body> tags for the document structure.

 Add a <title> tag to set the title of the webpage.


 Within the <body> tag, use <font> tag with attribute to set the font size and display
initial content.

 Use <h2> tag for the heading of the movie table.

 Define a table using <table> tag with border, cellspacing, and cellpadding
attributes for appearance.
 Use <tr> for table rows, <th> for table headers, and <td> for table data cells.
 Utilize rowspan and colspan attributes to merge cells vertically or horizontally.

 Close all opened tags (</head>, </body>, </html>) to complete the HTML file.

 Use <html>, <head>, and <body> tags for the document structure.

 Add a <title> tag to set the title of the webpage.

 Set the background color using bgcolor="lightblue" attribute in the <body> tag.
 Use <font> tag with size="4" to set font size and display initial content.

 Center align an <img> tag using <center> tag.


 Specify image dimensions with width and height attributes.

 Add horizontal rules (<hr>) with attributes size="12", size="10", and noshade
color="blue" to style the lines.

 Use <font> tags with size="6" and size="5" for different font sizes.
 Organize content with <ul> and <li> tags for an unordered list (<ul
type="square">).

 Close all opened tags (</head>, </body>, </html>) to complete the HTML file.

You might also like