Sei sulla pagina 1di 4

HTML Basic Elements

Company
LOGO
Company
LOGO HTML Basic Elements
 An HTML element is everything from the
start tag to the end tag.
ELEMENT TAG DESCRIPTION
defines a paragraph in
Paragraph <p> </p> the HTML document
defines the
Body <body> </body> body/content of the
HTML document
defines the whole HTML
Html <html> </html> document.
A line break used to
Line break <br> separate documents in
html (empty element)
Company
LOGO Types of text formatting

1. Logical formatting – the


appearance of the text is
controlled by the browser being
used, it is sometimes called
information style elements.
2. Physical formatting – it tells the
browser what font style and color
it will use to display the text.
Company
LOGO Horizontal Rules
A horizontal rule is a line stretching across the entire
window. Its element can be used to separate content in an
HTML page. Tag: <hr>

ATTRIBUTE VALUE DESCRIPTION


LEFT Specifies the
ALIGN CENTER alignment of an <hr>
RIGHT element

Specifies the height of


SIZE PIXELS
an <hr> element

Specifies the width of


WIDTH PIXELS (%)
an <hr> element

Potrebbero piacerti anche