HTML 5 Programming and Web development/HTML 5 Paragraphs
In HTML 5 a paragraph is created using the <p>
tag.HTML paragraphs are used on almost all web pages .They have many purposes, the simplest of which is for writing paragraphs.
In HTML 5 and other related markup languages such as SGML and XML the ampersand(&) and the semicolon (;) is used to encode symbols not found on the keyboard such as sum(∑) and Greek letters such as α and β.
Example:
<p>
This is the first sentence.
This is the second sentence
This is the third sentence.
</p>
The output looks quite like this:
This is the first sentence.
This is the second sentence
This is the third sentence.
Bold and Italics
editBold and italics text in HTML are created using the <b>
and <i>
respectively. These are used in paragraphs to make text bold and to italicized.
Bold text
editBold text is usually used to emphasize text in a document. In any document it is often times important to emphasize important information such as important research topics ,very important names and just about anything you want to put emphasis on.
Italicized text
editItalicized text are used for many purposes in word processing documents to get a Italicized text in HTML use the <i>
tag.