Use app×
Join Bloom Tuition
One on One Online Tuition
JEE MAIN 2025 Foundation Course
NEET 2025 Foundation Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
130 views
in Programming by (72.7k 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 (121k 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

...