Professional Documents
Culture Documents
ch-3 Part2
ch-3 Part2
</HEAD>
</TITLE>
Answer: name and type are invalid attributes of <FONT>. It may be used like <FONT face = “Arial”
size = 3> <b> ….. </b> </FONT>
Answer: Attribute values are not written inside the quotation. <FONT face=”Comic sans MS” color
= “RED”>
Answer: The hexadecimal color code is not written inside the quotes. It should be like – <FONT
color = “#345678”>
Answer: color is an invalid attribute of <BODY> tag. It should be written like <BODY background =
“Myimage.jpg” text = “red”>
Answer: > is missing after P. The correct code is <P> <FONT face = “Arial” color = “Blue”>
</FONT> </P>
(viii) <Body Margin Top = 60 Left = 75> Text with changed margin </Body>
Answer: The body tag has two attributes for margin – topmargin and leftmargin.
(ix) <BASEFONT SIZE = 5> <BODY> Text with New format </BODY>
Answer: <BASEFONT> tag will come inside the <BODY> tag. The corrected code is –
(x) <HTML> <HEAD> <TITLE> New Page </HEAD> </TITLE > </HTML>
The <TITLE> tag contains the document title. The title specified inside
The <HEAD> tag contains
the <TITLE> .. </TITLE> tag appears on the browser’s title bar.
title, scripts used, style d
The <TITLE> tag is entered between the opening and closing <HEAD>
The <HEAD> tag is writt
tags.
Container Elements: – Elements that require starting as well as ending Empty Elements: –
tags. For example- <head> .. </head> , <body> .. </body>, etc. an ending tag. For ex
An ending tag is similar to that of a starting tag except that it begins with a
slash (/) symbol. It is also known as v
Pages: 1 2 3 4