| |
Basic html tags |
| |
1. GENERAL TAGS
This is my first web page.
CODE:
<HTML>
<HEAD>
<TITLE> Title Web Page </TITLE>
</HEAD>
<BODY>
This is my first web page.
</BODY>
</HTML>
|
2. TEXT EDIT
header level 2
header level 5
CODE:
<h2> header level 2 </h2>
<h5> header level 5 </h5>
|
first paragraph
second paragraph
CODE:
<P> first paragraph </P>
<P> second paragraph </P>
|
To be
or not to be.
CODE:
To be
or not to be.....
that is the question.
CODE:
<PRE>
To be
or not to be.....
that is the question.
</PRE>
|
bold
CODE:
italic
CODE:
underlined
CODE:
Font text: Times new roman
Font size: 8
Font color: blue
CODE:
<font face="tahoma"> Font text: Times new roman </font>
<font size="8"> Font size: 8 </font>
<font color="blue"> Font color: blue </font>
|
3. LIST
- Unordered list:
CODE:
Unordered list:
<UL>
<LI> first
<LI> second
<LI> third
</UL>
|
- Ordered list:
- first
- second
- third
CODE:
Ordered list:
<OL>
<LI> first
<LI> second
<LI> third
</OL>
|
4. IMAGES
CODE:
<IMG SRC="winter.jpg" width="300" align="right" border="5">
|
5. LINKS
- Link to a file:
see file
CODE:
<A href="winter.jpg"> see file </A>
|
- Link to a web page:
EWSEMS
CODE:
<A href="http://www.etsav.upc.edu/personals/ewsems/"> EWSEMS </A>
|
- Local Link:
html basic course
CODE:
<A href="01.html"> html basic course </A>
|
- Link to a mail adreess:
contact
CODE:
<A href="mailto:writetome@writetome.com"> contact </A>
|
6. TABLES
| FIRST ROW, FIRST CELL |
FIRST ROW, SECOND CELL |
SECOND ROW, FIRST CELL |
SECOND ROW, SECOND CELL |
CODE:
<TABLE BORDERCOLOR="SILVER" WIDTH=75% BORDER=1>
<TR>
<TD> FIRST ROW, FIRST CELL</TD>
<TD> FIRST ROW, SECOND CELL</TD>
</TR>
<TR>
<TD> SECOND ROW, FIRST CELL</TD>
<TD> SECOND ROW, SECOND CELL</TD>
</TR>
</TABLE>
|
|
|
| |