Intro To HTML QnAPART1
Intro To HTML QnAPART1
Q9.Define :
i. Title -The <title> element is a container element. This title is displayed
in the title bar of the browser window.
ii. BODY -This section contains the main content of the web page which
includes text and graphics
iii. HEAD - The <head> provides information about the document page and
is the first element contained inside the <html>element.
Q10.Define
i. <Br>- element is used to give line break in the HTML code. It is an
empty element.
ii. < Hn> </Hn>-heading element is used to give section heading. The
heading element is written as <Hn>.....</Hn>, where n is the level of the
heading and can have values from I to 6.
iii. <Center> </Center> element center’s the content mentioned in
the start and end tag.
iv. <P> </P> element is needed to break a line at a specific place, and
also insert some extra space between the lines.
Q11. Question 14 of textbook pg74.
Ans
a) <HTML>
<HEAD> </HEAD>
<BODY >
<H1>My First Heading</H1>
<P>My first paragraph
</BODY>
</HTML>
_____________________________________________________________
b) <HTML>
<HEAD>
<TITLE>My New Web Page </TITLE>
</HEAD>
<BODY >
<H1>Welcome to my WebPage !</H1>
<P>This page illustrates how you can write proper HTML using only a text
editor,<br>such as Windows Notepad. You can also download a free text
editor,such as <br>Crimson Editor ,which is better than Notepad.
</P>
</BODY>
</HTML>
*******************************