LIVE Course for free

Rated by 1 million+ students
Get app now
0 votes
32 views
in Programming by (24.2k points)
closed by
In HTML, contents of a ______ element are displayed in monospaced font.
1. < u > ... < /u >
2. < momo > ... < /mono >
3. < mm > ... < /mm >
4. < tt > ... < /tt >

1 Answer

0 votes
by (24.2k points)
selected by
 
Best answer
Correct Answer - Option 4 : < tt > ... < /tt >

The < tt > element was used to identify text to be displayed using the browser's default monospace or fixed-width font as it would appear on a fixed-width device such as a teletype. This element has been deprecated and the < code > element is an appropriate modern replacement for < tt >.

Syntax

< tt >---text-----< /tt >

Other important points:

  • The < u > tag represents some text that is unarticulated and styled differently from normal text, such as misspelled words or proper names in Chinese text
  • There is no tag like <momo> and<mm> in html.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...