html body { margin-top: 50px !important; } #top_form { position: fixed; top:0; left:0; width: 100%; margin:0; z-index: 2100000000; -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; border-bottom:1px solid #151515; background:#FFC8C8; height:45px; line-height:45px; } #top_form input[name=url] { width: 550px; height: 20px; padding: 5px; font: 13px "Helvetica Neue",Helvetica,Arial,sans-serif; border: 0px none; background: none repeat scroll 0% 0% #FFF; }
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>
*******************************