Monday, August 1, 2011

HTML Text Formatting





There are many tags used to format a text.
The text can be made bold, big, emphasized, italic ,small ,strong ,subscripted
superscripted ,inserted ,deleted text


The following snippet shows how to use these




This is bold text
This is big text
This is emphasized text
This is italic text
This is small text
This is strong text
This is subscripted text
This is superscripted text
This is inserted text
This is deleted text

HTML Paragraphs

Paragraph is just an indication of starting of a new topic or new information.
This can be defined in paragraph tag which uses P as its indication using opening and closing tags<>.



This results like this

Hello this is from paragraph



Even this tag can be styled.

HTML Line Breaks

These are created using br tag which produces one line whenever used

Example


which produces following output

hello
this is in next line

HTML FONTS

Fonts can be styled using font tag used inside opening and closing tag of font.

Here is an example showing how to format a text using font



This will result as below

Hi this is styled font

No comments:

Post a Comment