Formatting Text in HTML

update me anything or .
* Preformatted text is text that is displayed exactly as it is typed, without any formatting applied.
* To use physical tags to format text in HTML, you surround the text with the appropriate tag. For example, to make text bold, you would use the `` tag.

**HTML Code**

“`html
Formatting Text in HTML

Summary

This document discusses the basics of formatting text in HTML. It covers the two types of formatting tags: physical and logical, as well as the difference between formatting tags and preformatted text.

Questions

  • What is the difference between physical and logical formatting tags?
  • What is preformatted text?
  • How do you use physical tags to format text in HTML?

Answers

Physical formatting tags specify a specific change in appearance, such as bold or italic. Logical formatting tags indicate the importance of text, such as or .

Preformatted text is text that is displayed exactly as it is typed, without any formatting applied.

To use physical tags to format text in HTML, you surround the text with the appropriate tag. For example, to make text bold, you would use the tag.

“`

I hope this is helpful!

Post a Comment (0)
Previous Post Next Post