You are here: HTML > Logical Tags > <H# ...>
Attribute for <H# ...>
ALIGN =LEFT |RIGHT |CENTER |JUSTIFY
ALIGN aligns the header
LEFT,
CENTER or
RIGHT.
LEFT is the default.
<H1ALIGN=LEFT>My Resume</H1>
<H1ALIGN=CENTER>My Resume</H1>
<H1ALIGN=RIGHT>My Resume</H1>
produces My Resume
My Resume
My Resume
there is a JUSTIFY value, which only applies if the text in the header is so long it
must wrap to the next line. If this happens, your header is probably too long:
<H1 ALIGN=JUSTIFY>Here's an example
of how to justify the text in a H1
header tag. I've never seen this
being used. You can probably see why.
It's kind of ugly!</H1>
produces Here's an example of how to justify the text in a H1 header tag. I've never seen this being used. You can probably see why. It's kind of ugly!
<EM> >>>
|