HTML – A New Language

Download Report

Transcript HTML – A New Language

HTML –
Extras
HTML - Extras
Centering – to center something, like a word
or a sentence put <center> before the word
or words and </center> at the end.
Underline – to underline something, put <U> before it
and </U> after it.
Italics – to make something in italics,
put <I> before it and </I> after it.
HTML - Extras
To make something go to the next line use <BR>,the break command.
This is used instead of the Enter key. You may have already noticed
that pressing the Enter has no effect on the way your web page
actually appears. There is no </BR> Use several of these together
to add several spaces.
To add a Horizontal Line to your page us the <HR> command.
You should use the <BR> command before it and after it,
to make sure that it is on a line by itself. Once again this command
does not close.
HTML - Extras
Fill in the missing code to make
this web page.
<HTML> <HEAD>
<TITLE> The Planets
_________ </HEAD>
<BODY>
<Center>_______The
Planets</H1>
_______ _______ _______
<H3>There are 9 planets.
</H3>
<br><hr>
_____Mercury
<BR>____Venus</i>
<BR>Earth
</body></html>
HTML - Extras
Fill in the missing code to make
this web page.
<HTML> <HEAD>
<TITLE> The Planets
</title> </HEAD>
<BODY>
<Center><H1>The
Planets</H1>
<br><hr>
<H3>There are 9
planets.</H3>
<br><hr>
<center>Mercury
<BR><i>Venus</i>
<BR>Earth </h3>
</body></html>
YOUR TURN- Add the other planets, italize some.
<HTML> <HEAD>
<TITLE> The Planets
</title> </HEAD>
<BODY>
<Center><H1>The Planets</H1>
<br><hr>
<H3>There are 9 planets.</H3>
<br><hr>
<center>Mercury
<BR><i>Venus</i>
<BR>Earth </h3>
</body></html>
HTML Extras
<HTML> <HEAD>
__________The New CCHS
</title> </HEAD>
<BODY>
<Center> __________ <H1>The New
CCHS</H1> </U> __________
<h2>
<u>1000 __________ - Burgandy LEAPS
<u>2000</u>- Blue - BEAM
<U>3000</u>- <i>Foreign Languages
__________
<u>4000</u>- Green - HARTS
__________ 5000</U>- Yellow - SHHS
<u>6000</u>- __________ Gym and
MISC area</i>
</body></html>
HTML Extras
<HTML> <HEAD>
<TITLE> The New CCHS
</title> </HEAD>
<BODY>
<Center><U><H1>The New CCHS</H1>
</U> </center>
<h2>
<u>1000</u>- Burgandy - LEAPS
<u>2000</u>- Blue - BEAM
<U>3000</u>- <i>Foreign
Languages</i>
<u>4000</u>- Green - HARTS
<u>5000</U>- Yellow - SHHS
<u>6000</u>- <I>Gym and MISC
area</i>
</body></html>
Your turn – add some Underlines and Italize some text
<HTML> <HEAD>
<TITLE> The New CCHS
</title> </HEAD>
<BODY>
<Center><U><H1>The New CCHS</H1> </U> </center>
<h2>
<u>1000</u>- Burgandy - LEAPS
<u>2000</u>- Blue - BEAM
<U>3000</u>- <i>Foreign Languages</i>
<u>4000</u>- Green - HARTS
<u>5000</U>- Yellow - SHHS
<u>6000</u>- <I>Gym and MISC area</i>
</body></html>
Adding two tags to one word
The Continents
The Continents are Underlined and
Italized.
<I><U>The Continents</U></I>
<I><U>The Continents</U></I>
OR
<U><I>The Continents</I></U>
BUT NOT
<I><U>The Continents</I></U>
The End
HTML –
Extras
Computer Science