Page 150 - Computer Genius Class 06
P. 150
The <P> Tag
The tag defines start and end o a paragraph in the te t. t is oth a container as ell as an
empty tag. hene er you ant to start a ne paragraph you can start the paragraph tag using
ithout closing the pre ious paragraph tag. n order to a oid con usion it is ad ised to use this
tag as a container tag starting ith the tag and ending ith the tag. The paragraph tag
automatically inserts a lan line et een t o paragraphs.
Align Attribute
paragraph can e aligned using the align attri ute. arious alues o the align attri ute are gi en
in the ta le elo .
Value Description Example
e t e t aligns the te t lign e t Te t goes here.
ight ight aligns the te t lign ight Te t goes here.
Center enter aligns the te t lign enter Te t goes here.
usti y Stretches the lines so that each line lign usti y Te t goes here.
has an e ual idth
The <BR> Tag
The tag is used hen you ant to start a ne line ut do not ant to start a ne paragraph.
This tag is also no n as line rea . t is mainly used hen you ant your te t to come in ne t line
ithout lea ing a lan line in et een. This tag orces a line rea here er you ill place it. t is
an empty tag.
148 Computer Genius-VI

