Format text in HTML

Format elements in HTML help determine the style and importance of text.

Format elements in HTML

In the previous lesson, you learned about style attributes in HTML. HTML also uses special elements to define text with special meaning, such as and for bold and italic printing. This is a list of formatting elements for special text.

  1. bold
  2. important text
  3. italicized
  4. emphasize
  5. mark text
  6. minuscule
  7. deleted text
  8. inserted text
  9. text index below
  10. text index on

Elements and

The < b > element in HTML is used to define bold text, but there is no other importance.

 Đoạn text is bold. 

Element used to define important text.

 Important text. 

Elements and

Element used to define italic text, no other importance.

 Văn in italics. 

Element used to define text is emphasized .

 Text emphasized mạnh. 

Note: Although the browser is displayed like and like But these 2 pairs have different meanings. When and Text definition is bold and italicized, and indicates that the text is important.

Element

Element used to define smaller text.

Smaller dạng for text

Element

Element used to define text tick (marked or highlighted).

Document is dấu in HTML

Element in HTML

is the element used to define the text delete .

I like color green red

Element in HTML

Element used to define inserted text.

I like red.

Element in HTML

Element used to define the lower index .

Here

 is the lower index in HTML. 

Element in HTML

Element used to define the above index .

This is the trên index in HTML.

Format text in HTML Picture 1
Format text with some tags in HTML

Previous article: Style properties in HTML

The following article: Citation elements in HTML

4 ★ | 2 Vote

May be interested

  • Style properties in HTMLStyle properties in HTML
    the style attribute specifies the style for the html element.
  • Standard format and code coding convention in HTML5Standard format and code coding convention in HTML5
    html5 has a free way to write, so to become a smart programmer, you need to create your own habit of writing the code properly so that others can easily understand and use your html code. find out with quantrimang.
  • Introduction to HTMLIntroduction to HTML
    a few basic things to know about html before starting to learn this language.
  • Div tag in HTMLDiv tag in HTML
    tags are used to define a section or a region in html text.
  • Top 10 HTML tags that each blog and website owner should knowTop 10 HTML tags that each blog and website owner should know
    web in the world is coded in many different languages. however, there is a language that can be found on all those sites, hypertext markup language, commonly referred to as html.
  • Table in HTMLTable in HTML
    what does it take to create a table in html? is it complicated? want to add color to the table border, how to add the background color to the text in the table? in this article tipsmake.com will answer those questions and guide you to basic operations with tables on html, in addition to adding alternate color schemes for rows in the html table. invite you to follow along.
  • How to Convert Word Documents to HTML FormatHow to Convert Word Documents to HTML Format
    converting a .doc, .docx, or .odf file to html is simple, but there is no perfect method for completing this task. if you want to create a website that loads quickly and displays consistently across all browsers, you can use an online tool to convert word documents to html. if you want to store as many formats as possible, use word's built-in 'save as' function to convert this file.
  • How to Make a Scrolling Marquee in HTMLHow to Make a Scrolling Marquee in HTML
    a scrolling marquee is moving text added to a website, but html is no longer commonly used for this feature and is not recommended. the html tag for scrolling marquees has been deleted from the standard html library. to accomplish a...
  • Free use of PDFZilla text format conversion programFree use of PDFZilla text format conversion program
    with powerful pdfzilla tool, you can easily convert pdf file format to doc, rtf, txt, bmp, jpg, gif, tif, html or swf. the program is simple, easy to use, with only 3 clicks the user has completed their work ...
  • 10 best free HTML editing tools for Windows 201810 best free HTML editing tools for Windows 2018
    a good html editor must have a spell checker, line number, autocomplete, page preview and a text and image editing tool. there are many types of editing tools (text, object and wysiwyg), so it is important to find an appropriate tool.