MENU
Question -

Distinguish between tag and tag with the help of an example of each.



Answer -

tag is used to specify the default setting of the text. It takes the same attributes as tag. The only difference is that the tag affects all the text that follows until a new tag affect that is encountered. tag affects the text that comes upto its closing tag.

e.g.
Hi Everyone
HTML is a Web language
It is used for creating Web pages.
Here, in the above example only the text enclosed in is affected by font setting, rest of the text gets affected by basefont setting.

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
×