menu search
brightness_auto
more_vert
Explain the use of following tags with example .

a) <marquee>

b) <pre>

c)<sub>
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike

1 Answer

more_vert
 
verified
Best answer

A) <marquee>

Marquee  is a tag used to create scrolling text .

It supports attributes like , direction , height, width, bgcolor , loop etc common attributes.

Eg.

<Marquee direction="down" height="200"> my marquee text</marquee>

my marquee text

 

 

 

 

B) <pre> 

This tag is used to preformat  the text and text inside this tag is displayed in monospace format .

Eg. 

<Pre>my text</pre>

My text 

C) <sub>

 This tag is subscript tag used to display text in subscript format  it is useful to display chemical equations and mathematics formulas .

Eg .

H<sub>2</sub>SO<SUB>4</SUB> 

H​​​​​​2​​​​​SO​​​4

 

 

 

thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike

Related questions

thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 1 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 2 like thumb_down_off_alt 0 dislike
1 answer
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
1 answer

Welcome to Brainiak.in , where you can ask questions and receive answers from other members of the community ,

There is many categories for every students  CBSE , Maharashtra board , JEE , NEET  and we will add more categories

and make brainiak one of the most loved community of students

Advertisement

Get Your advertisement on Brainiak.in Buy Adspace

3.0k questions

2.5k answers

24 comments

341 users

...