SOME MORE BASIC TAGS in html : SOME MORE BASIC TAGS in html This is an example to give a hidden comment:
This is a regular paragraph
Ouput:
This is a regular paragraph
Slide 2 : This is an example to give a horizontal ruler.
The hr tag defines a horizontal rule:
This is a paragraph
This is a paragraph
This is a paragraph
Slide 3 : This example shows the usage of
tag:
My Bonnie lies over the ocean.
My Bonnie lies over the sea.
My Bonnie lies over the ocean.
Oh, bring back my Bonnie to me.
Note that your browser ignores your layout!
Preformatted text : Preformatted text
This is
preformatted text.
It preserves both spaces
and line breaks.
The pre tag is good for displaying computer code:
for i = 1 to 10
print i
next i
Slide 5 : Output:
This is
preformatted text.
It preserves both spaces
and line breaks.
The pre tag is good for displaying computer code:
for i = 1 to 10
print i
next i
U can format text using all of these tags : U can format text using all of these tags
This text is bold
This text is strong
This text is big
This text is emphasized
This text is italic
This text is small
This is subscript and superscript
Slide 7 : This text is bold
This text is strong
This text is big
This text is emphasized
This text is italic
This text is small
This is subscript and superscript
Slide 8 : This example shows how to write an address:
Donald Duck
BOX 555
Disneyland
USA
Slide 9 : Output:
Donald DuckBOX 555DisneylandUSA
Slide 10 : Background color in new way
Look: Colored Background!
In Old way:
Look: Colored Background!
For future proof HTML, use HTML styles instead:
style="background-color:yellow"
Slide 11 : Adding font color to text:
A heading
A paragraph
Slide 12 : In old way
This is a paragraph.
This is another paragraph.
Slide 13 : Adding center alignment in new way:
This is heading 1
The heading above is aligned to the center of this page. The heading above is aligned to the center of this page. The heading above is aligned to the center of this page.
Slide 14 : In old way:
This is heading 1
The heading above is aligned to the center of this page. The heading above is aligned to the center of this page. The heading above is aligned to the center of this page.