Professional Documents
Culture Documents
Learning HTML
Learning HTML
<!DOCTYPE html> (indicates that the type of the file i am writing is html)
<head></header> (the part where i indicate the general informations about my site doesn't appear!)
<body></body> (the body of my site and where i put everything that will appear in the site)
<p></p> (paragraph)
<link rel="icon" type="image/jpg" href="tn.jpg" /> ( to change the icon in the title bar)
<sub></sub> (H2O)
<sup></sup> (POWER)
<a href="HTTPS//www.expl.com"> TEXT THAT YOU WANNA PRESS </a> <a href="Name of file +
extention"> TEXT THAT YOU WANNA PRESS </a> (Sending to a file)
if you want them not to change tabs when pressing the hypertext add (target="_blank") inside <a>
Adding an image :
<img src="LINK or LOCATION" alt="the name of the image" ( when the image link doesn't work
anymore !! )/> ( you can add the width and the height with putting in cosideration the X*Y of the
image )
PS: You can create a clickable image by merging the href and the img tags together
Adding a custom video or a youtube video ( iframe) :
PS1:- Bich yitaawed il video baad ma youfa : Add "loop" inside the <video> or if you want it to be
autoplayed add "autoplay" inside <video>
PS2:-In case you want the user to control the video ( start / stop and the volume ) add "controls"
inside <video>
PS3:- In case you want to change the thumbnail of the video add 'poster="NAME + extension of the
image" '
ORDERED LIST
<ol type="1,A,a,I,i">
</ol>
UNORDERED LIST
<ul>
</ul>
EXPL:
EXPL 2:
<form> ( wrapper) and we can add action="/ SITE" if we want the form to take action
<input type="######" /> (password / text / range / date / file / week / email)
</form>
To remove the line under href links : <STYLE>A {text-decoration: none;} </STYLE>