Revision Pack
Revision Pack
OBJECTIVES
pages using markup. HTML elements form the building blocks of all
websites, and they are used to embed text, images, links, multimedia,
and more.
SOME ESSENTIAL TAGS
WE NEED TO CREATE A
WEBPAGE
BODY TAG
in between the body tag is where you write your html code, such as tr,
td, etc.., look at the example below:
TABLE TAG
tr tags create a row, td tags create the cells, each row must have a tr
tag, and each cell must have a td tag.
the style tag is NOT written between the body tag, but rather between
the head tag, under title.
The href is short for Hypertext Reference, as in the example below, you
write the new file you want to open in href.
so now, whenever you click on Home, you open the new file
Home_page.html
H1, H2 AND H3 TAGS
These are headings for you webpage, each one with a different size.
h1 is the largest
Put whatever text you want as the heading between the h1 tag
<IMG> TAG
want to upload.
<VIDEO> TAG
want to upload.
additionally, you add the controls attribute to add play, pause and
between each ol or ul tag, we have a li tag (short for list), that creates
left
center
right
VERTICAL-ALIGN
top
middle
bottom
MARGIN
margin-right: creates space on the right and moves the table to the
left.
padding is the space between the content (text or image) of a cell and
its border.
after paddig
before padding
FONT-FAMILY
if you want only table to change, you give the property to that tag
FONT-SIZE