1.

“An HTML document requires a structure”. Justify tLIs statement.

Answer»

HTML page has a well defined structure. The main sections of the HTML document are given below.-

<HTML>-</HTML>

The entire HTML document is bounded with <HTML>and</HTML>

<Head>-</Head>TLIs defines the head section. The head section includes information such as document title, general style definition etc.

<Title>-</Title>TLIs encloses a Title. Title is given in head section. Text given in<TITLE>-</TITLE>will displayed in the Title Bar.

<Body>-</Body>.Content of the document is written witLIn<Body> and </Body>

Eg.

<HTML>

<Head>

<Title>First Page</Title>

</Head>

Hello

</BODY>

</HTML>



Discussion

No Comment Found