Basic HTML Codes

Formatting Text

Bold Text: <strong> </strong>

Ex: I <strong>really</strong> like this toy!      Result: I really like this toy.

Italics Text: <I> </I>

Ex: I <I>really</I> like this toy!      Result: I really like this toy!

Underline Text: <U> </U>

Ex: I <U>really</U> like this toy!      Result: I really like this toy!

 

Formatting Paragraphs

Carriage Return – New Line: <br>

Ex: The brown fox jumped over the fence.<br>
The red fox jumped over the fence.

Result: The brown fox jumped over the fence.
The red fox jumped over the fence.

Same text without HTML <br> Code:

Result: The brown fox jumped over the fence. The red fox jumped over the fence.

 

New Paragraph: <p>

Ex: The brown fox jumped over the fence.
<p>
The red fox jumped over the fence.

Result: The brown fox jumped over the fence.

The red fox jumped over the fence.

Same text without HTML <p> Code:

Result: The brown fox jumped over the fence. The red fox jumped over the fence.

Click for more HTML codes: www.htmlcodetutorial.com or search the Internet for “html codes.”

 

Help Home Page | Formatting Data