You are on page 1of 1

<s></s>

<strick></strick>
<del></del>

<pre></pre>
<big></big>
<small></small>

A block-level element always starts on a new line, and the browsers automatically
add some space (a margin) before and after the element.

A block-level element always takes up the full width available (stretches out to
the left and right as far as it can).

Two commonly used block elements are: <p> and <div>


(if an html tag always display the content on the new fresh line and occupies the
complete available width of its parent tag,then such html tag is know as block
level tag.)

Inline Elements
An inline element does not start on a new line.

An inline element only takes up as much width as necessary.

This is a <span> element inside a paragraph.

(if an html tag occupies the exact amount of space requred to display the content
on the browser,and will not move the content to the new line ,then such html tag is
known as inline tag
(i.e it puts the content on the same line and wont take any extra space on the
browser.)

<h1 align="center/right/left/justfy">xxxx<h1>
justfy align both left and right
<font size="1" face"monotype corsiva" color="red">HTML</font>
<body bgcolor="red" text="yellow"> <body>
<body background="picture.jpg"></body>//to set picture background here
image tend to repeate in both x and y axis
to deal with this we use css
<body background="picture.jpg"style="background-repeate:non/repeat-y/repeat-x;"></
body >

<hr color="red" width="100"/>by defaul hr algin at the center

You might also like