-->

Monday, April 13, 2015

Basic HTML Codes for Editing Text (Beginners)

<br>
 
Line Break Element
produces a line break in text (carriage-return). It is useful for writing a poem or an address, where the division of lines is significant.


HTML Text Formatting Elements

TagDescription
<b>Defines bold text
<em>Defines emphasized text 
<i>Defines italic text
<small>Defines smaller text
<strong>Defines important text
<sub>Defines subscripted text
<sup>Defines superscripted text
<ins>Defines inserted text
<del>Defines deleted text
<mark>Defines marked/highlighted text



 Links are defined with the <a> tag:
<a href="url">link text</a>

Example:

<a href="http://www.w3schools.com/html/">Visit our HTML tutorial</a>

Try it Yourself »
The href attribute specifies the destination address (http://www.w3schools.com/html/)
The link text is the visible part (Visit our HTML tutorial).
Clicking on the link text, will send you to the specified address.

NoteThe link text does not have to be text. It can be an HTML image or any other HTML element.

No comments:

Post a Comment