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.
bold
important text
italicized
emphasize
- mark text
minuscule
deleted text
inserted text
text index below
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 with some tags in HTML
Previous article: Style properties in HTML
The following article: Citation elements in HTML
You should read it
May be interested
- Style properties in HTMLthe style attribute specifies the style for the html element.
- Standard format and code coding convention in HTML5html5 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 HTMLa few basic things to know about html before starting to learn this language.
- Div tag in HTMLtags are used to define a section or a region in html text.
- Top 10 HTML tags that each blog and website owner should knowweb 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 HTMLwhat 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 Formatconverting 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 HTMLa 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 programwith 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 2018a 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.