Text Formatting
In HTML5, you can use a variety of tags and CSS properties to format text and control its appearance. Here are some common options:
Headings: HTML5 provides six levels of headings, from <h1> (most important) to <h6> (least important). Headings are used to provide structure and hierarchy to your content.
Paragraphs: The <p> tag is used to define a paragraph of text. Paragraphs are commonly used to group together related sentences or ideas.
Bold and Italics: The <strong> tag is used to make text bold, while the <em> tag is used to make text italicized. You can also use the CSS font-weight property to make text bold, and the font-style property to make text italicized.
Underline: The <u> tag is used to underline text. You can also use the CSS text-decoration property to underline text.
Strikethrough: The <s> or <del> tag is used to create strikethrough text. You can also use the CSS text-decoration property to create strikethrough text.
Superscript and Subscript: The <sup> tag is used to create superscript text, while the <sub> tag is used to create subscript text.
Lists: HTML5 provides two types of lists: ordered lists (<ol>) and unordered lists (<ul>). You can use the <li> tag to define each list item.
Blockquotes: The <blockquote> tag is used to create a blockquote, which is a section of quoted text. You can use the cite attribute to provide the source of the quote.
Links: The <a> tag is used to create links. You can use the href attribute to specify the URL of the link.
Text Alignment: You can use the CSS text-align property to align text to the left, center, right, or justify.
By using these text formatting options, you can make your HTML5 content more visually appealing and easier to read.
Various text formatting tags are
-
- hn Tag for Headings
- p Tags for Paragraphs
- br-Tag for Line Breaks
- pre tags to Maintain Formatting
it consists of following topics
Apply for HTML5 Certification Now!!
http://www.vskills.in/certification/Certified-HTML5-Developer