Professional Documents
Culture Documents
HTML Tags
HTML Tags
Paragraph <p></p> -
Image <img .. /> Src : contains the path to the img Src can be either a web site (URL address ) or a
Alt : description of the image if it didn’t show up path in the same document as the HTML file
There is also height and width (in pxls )
Link <a .. >..</a> Href : put the link or the email address What comes between the tag is the text that
Name : for internal link direct us to the link
Table
<table>
<tr> For td : Tr : is the row
<td> Rowspan = L : cell extension on L rows Td : is the column ( cell )
<th></th> colspan = L : cell extension on L columns Th : heading of a column / cell
</td> Column : max number of a row
</tr>
</table>
Form <FORM .. >..</FORM> ACTION : URL of script to execute on the input (path) It’s best to use the POST method because it’s
METHOD : for sending the data : safer
GET : data appended in URL of Script
POST : data alone separated from the URL
NAME : the forum name
NAME : the field name
Input <INPUT.. > SIZE : size of the frame Placeholder is the text that’s shown in the tex
MAXLENTH : text length frame for example or the name of the button
TYPE ( text , password , radio , checkbox , submit , Submit : to send
reset , file , email, url , tel , number, range , time , Reset : to modify
date , week , month ) Radio type is for selecting options
VALUE : the field value
REQUIRED
AUTOFOCUS : autofocus on the first field
PLACEHOLDER
PATTERN : control the input
Footer* <footer></footer>
Article* <Article></Article>
Division <div></div>
CLASS , A container for HTML elements and then can b
styled with CSS and javascript
Span <span></span>
inline container used to mark up a part of a tex
or a part of a document
Navigation* <nav></nav>
defines a set of navigation links
Sidebar* <aside ></ aside >
Section* <section></section>
Audio <audio>
<source> Src , alt (same as img ) , controls ( in the audio tag)
</audio> It’s best to have controls
Video <video></video>
Src , alt , height , width (same as img ) , autoplay ,
preload (auto / metadata / none ) , loop
Body <body></body>
bgcolor : background color
background : background image
bgproperties : fixed to fix the background
link : link color
alink : visited link color
vlink : link color on the click
Gras , Italic , Underlined <b></b> , <i></i> , <u></u>