Professional Documents
Culture Documents
Basic HTML Vocabulary Rules PDF
Basic HTML Vocabulary Rules PDF
is the way a “p" tags marked.
denotes ‘what is called an “opening” p tag which would begin a paragraph. Tags must always be closed after being, ‘opened. A closing tg is exactly the same as the opening tag with the exception of 2 "/" symbol A closing “p" tags written
.Thisis on exomple of text inside of 0p t09
‘There are two basic types of tags in HTML. Semantic tags and Structural tage ‘Semantic tags give meaning tothe content they enclose. For example content inatagis a paragraph of text, The tag identifies the type of content it contains ‘+ structural tags provide organization te HTML decument. For example 2
Thisis on example of text inside of op 09
“This i an exomple of text inside ofa 109
Thete would be a line break to begin a new line after each closingbecaus
togsare block level elements + Inline level elements are placed next to each other -they do not have aline break after each closing tag. For example the span tags an inline level element: This is on example of text inside of op tog This i an example of text inside of 09 tog The text would be displayed next to each other on the same line. Block level elements can contain other tags and elements. For example inthe lst:
Thisis on exomple of tex inside of op tage/p>
‘© Fora few tags you will open and clase them on the same line such asthe image ta, This is used when @ tag contains no
content, ust attributes ar the tag by ee. When this isthe case ther willbe a space and then a "/>" closing the ta:
© Denotes # heading on a page. Can have levels between 1 and 6 for example
of
‘an unordered lst. By default his is splayed as a blleted Ist
‘An ordered list. By default this is displayed asa numbered ist
‘data cellin table
| Text merked as important By default this is displayed in bold
‘Text matked for emphasis, By default this is displayed initaies
‘Structural Tags | Description
and
tags can be considered both structural and semanticSSX TIMOTHY TRAINING
Leatring Resources For Web Developers
Below is a list of essential HTML attributes you will need to remember. There are many other HTML
attributes but these are the most common and important ones to remember
‘Arbute Description Applies To
id ‘Gives the element an identification for targeting Altogs
class “Applies a CSS class style to an element tags
— Name ofan image or ink
ait Provides alternative text description for on image
(Can only be 255 characters long
Longdes | Provides alternative text description for an image
{Gan only be ay length
bret ‘Abyperink reference toa target and
co1span | Number of columns spanned by cell ‘
<1i>Sample unordered list iten1i>
Another Sample unordered list item¢/1i>
>
«o>
www timothytraining.netYou might also like