+2 votes
1.1k views
in Operating System by
reopened
Explain the use of following tags with example .

a) <marquee>

b) <pre>

c)<sub>

1 Answer

0 votes
by (8.1k points)
edited by
 
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

 

 

 

Related questions

+3 votes
1 answer 5.5k views

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

557 users

...