RGB Web Tech

RGB Web Tech

Which tag is used to display text in a monospaced (typewriter − style) font in HTML?

a). < monospace >

b). < code >

c). < typewriter >

d). < pre >

Answer : < pre >

Explanation :The < pre > tag is used for displaying text in a preformatted, monospaced font. It preserves both spaces and line breaks.

If our MCQs have been helpful to you, we would truly appreciate it if you could share them on your social media. Sharing is caring, and your support motivates us to keep delivering valuable content. Thank you for your kindness!

Last updated on January 01, 2025 by RGB Web Tech

Written by RGB Web Tech

Multiple Choice Questions

Comprehensive MCQ collection covering diverse topics such as PHP, Python, Ruby, Rust, Java, Android, iOS, Flutter, Big Data, AI, Machine Learning, Cyber Security, Digital Marketing, and more. Enhance your skills with quizzes on programming, data science, app development, CMS, robotics, design tools, and software testing.

"Knowledge is power, and MCQs are the key to unlock it."