Professional Documents
Culture Documents
HTML
HTML
2000/9/14
mubarmej :
: .
: .
.. HTML
HTML is a <b>Great</b> Language
..
HTML is a Great Language
Great Language
HTML is a
.. HTML
) " ( ) ' (
.
HTML
tab .
>! -- <-- .
HTML
HTML :
: Head
.
: Body .
.. HTML
><html
><head
...
></head
><body
...
></body
></html
> <head > <head/
> <body >. <body/
> <title > <title/ > <title
title
.title
meta
.
.body
.. h6 h2 h1
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>
P
<p>Paragraph Text </p>
P align
<p align="left">Left aligned paragraph </p>
<p align="center">Centered paragraph </p>
<p align="right">Right aligned paragraph </p>
a name ) href (
> <""=a name href name
# > <a/><"a name="myname
><"a href="#myname> <a/ )
( ><"a href="salem.html#myname
>.<a/
top# .href
>. <br
&) ;nbsp (
pre
> <pre >. <pre/
> <center ><center/
Font
font
.
font face
><font face="verdana">Verdana Text </font><br
><font face="Courier New">Courier New Text </font
color ) (
size
font size
3 4 7 1
3 +
7 7
.1
><font size="+4">Size 7</font><br
><font size="+3">Size 6</font><br
><font size="+2">Size 5</font><br
><font size="+1">Size 4</font><br
><font size="0">Size 3</font><br
><font size="-1">Size 2</font><br
><font size="-2">Size 1</font><br
relative
size + -
><font size="7">Size 7</font><br
><font size="6">Size 6</font><br
> <basefont
) (
Verdana 3
>"<basefont color ="Green" size="3" face="Verdana
HTML .
b strong i em tt
><b>This</b> is Bold Text and <strong>this</strong> to!<br
>but <i>This</i> is Italic Text and <em>this</em> to!<br
And <tt>This</tt> is Typewriter Text
> <body
bgcolor background text link vlink alink
topmargin buttommargin leftmargin .rightmargin
"<body alink="red" link="yellow" vlink="blue
>"bgcolor="black" text="white" topmargin="0
>This is some Text .<br
>And here are some links :<br
><a href="http://www.download.com/">Great Downloads </a><br
><a href="mailto:bgates@hotmail.com">Bill Gates!?</a><br
><a href="http://www.msn.com/">Microsft Network </a><br
><a href="http://www.hotmail.com">Free E-mail</a
></body
HTML
0 255 ) ( ) (Red,Green,Blue rgb
)rgb(R,G,B
R G B
255 ff
00 RRGGBB# .. #
.Windows
16.5 256
216
216
.
141
:
..
>"<font size="+1
><font color="Khaki"> Sample 1 </font><br
><font color="#0066cc"> Sample 2 </font><br
><font color="rgb(204,112,202)"> Sample 3 </font><br
></font
HTML
.HTML
jpg ) gif (.
HTML
HTML .
http://www.microsoft.com/ie/default.asp href download.html
http://www.microsoft.com/ie/download.html href download/english.html
http://www.microsoft.com/ie/download/english.html href
) ( /
) ( .. href windwos.html/..
http://www.microsoft.com/windwos.html /ie /
/http://www.ayna.com .
HTML IMG ) (
src .
>"<img src="/images/sample.gif
width height
.
"<img src="/images/sample.gif
>width=73 height=68><br><br
"<img src="/images/sample.gif
>width=200 height=100
align
HTML align
..
: left .
>"<img src="/images/sample.gif" align="left
: middle, absmiddle .
>"<img src="/images/sample.gif" align="middle
: right .
>"<img src="/images/sample.gif" align="right
: top, texttop .
>"<img src="/images/sample.gif" align="right
border 0
border
"border="0
.
>"<a href="http://www.microsoft.com/
><img src="/images/sample.gif"></a><br
>"<a href="http://www.microsoft.com/
><img src="/images/sample.gif" border="0"></a><br
>"<img src="/images/sample.gif" border="3
.hspace
alt alt
ToolTip .
Hot Spots
.
usemap
.
)(
map name
map area shape
href coords :
: circle ) x, y,
.(radius
: rect
).(x1, y1, x2, y2
: poly
).(x1, y1, x2, y2, .. xn, yn
.
Adobe Photoshop . Paint Shop Pro
:
>"<img src="/images/sample2.gif" usemap="#mymap
>"<map name="mymap
"<area shape="rect" href="http://www.jokes.com/
>"coords="6,10,67,44
"<area shape="circle" href="http://www.story.com/
>"coords="121,93,27
"<area shape="poly" href="http://www.download.com/
coords="37,90,73,105,59,129,15,129,4,105 ">
</map>
alt shape border
.shape alt
<img src="/images/sample2.gif" usemap="#mymap" border="0">
<map name="mymap">
<area shape="rect" href="http://www.jokes.com/"
coords="6,10,67,44"
border="0" alt="Be Happy">
<area shape="circle" href="http://www.story.com/"
coords="121,93,27"
border="0" alt="Enjoy!">
<area shape="poly" href="http://www.download.com/"
coords="37,90,73,105,59,129,15,129,4,105 "
border="0" alt="Best Downloads ">
</map>
HTML ) (
.
ol ul li
type :
.. ,4 ,3 ,2 ,1 : 1
.. ,a, b, c, d : a
.. ,A, B, C, D : A
.. ,i, ii, iii, iv : i
.. ,I, II, III, IV : I
:
: circle
o
: square
: disc
.
>"<ul type="circle
<li>Pepsi
<li>Crash
<li>7 Up
></ul
>"<ol type="I
)<li>Windows (85%
)<li>Linux (10%
)<li>Mac (3%
)<li>Other (2%
></ol
><ol
<li>American Companies
><ol
<li>Microsoft
<li>General Motors
></ol
<li>German Companies
><ol
<li>Dubian
<li>BMW
><ul
<li>6 Class
<li>7 Class
></ul
></ol
></ol
HTML
table tr td
border 0 .0
>"<table border ="1
><tr
<td>First Row - First Data
<td>First Row - Secound Data
></tr
><tr
<td>Secound Raw - First Data
<td>Secound Raw - Secound Data
></tr
></table
cellspacing
.cellpadding
>"<table cellspacing ="10" cellpadding="20" border="1
><tr
><td>First Cell</td
><td>Secound Cell</td
></tr
></table
width height
td .
>"<table width="100%" height="100%" border="1
><tr
<td width="100" height="40%">First Cell
<td width="100%" height="40%">Secound Cell
></tr
><tr
<td width="100" height="60%">First Cell
<td width="100%" height="60%">Secound Cell
></tr
></table
bgcolor background
td bgcolor
.
td
.
<table width="95%" border="1">
<tr>
<td>First Table - First Cell
<td>
<table border ="1">
<tr>
<td>Secound Table - First Cell
colspan rawspan
.td
<table border="1">
<tr>
<td rowspan="2" colspan="2">First Cell
<td>Secound Cell
<td>Third Cell
</tr>
<tr>
<td rowspan="3">Fourth Cell
<td colspan="2">Fifth Cell
</tr>
<tr>
<td>Sixth Cell
<td>Seventh Cell
<td>Eighth Cell
<td>Nineth Cell
</tr>
</table>
frames
.
.
frameset frame
src frameset frameset frameset
body frameset
cols ) ( ,
rows cols 100 %10
:
>"*<frameset cols="100,10%,
>"<frame src="sample1.html
>"<frame src="sample2.html
>"<frame src="sample3.html
></frameset
frameset frame
>"*<frameset rows ="50,
>"<frame src="sample1.html
>"*<frameset cols ="100,
>"<frame src="sample2.html
>"<frame src="sample3.html
></frameset
></frameset
frameborder 0 1
framespacing
0 .
>"<frameset cols ="50%,*" frameborder="0" framespacing="0
>"<frame src="sample1.html
>"<frame src="sample2.html
></frameset
name
a target _ blank
_ top _ self ) ( _ parent
.
>--
sample4.html
<!--
"<a href="sample1.html
>target="_blank">Page 1</a><br
"<a href="sample3.html
>target="_top">Page 3</a><br
"<a href="sample2.html
>target="main">Page 2</a
"<a href="sample4.html
>target="main">Page 4</a
>"*<frameset rows ="20,
>"<frame src="sample1.html
>"*<frameset cols ="200,
>"<frame src="sample4.html
>"<frame src="sample3.html" name="main
></frameset
></frameset
body HTML iframe src
name
width height
http
http http
http
name=mubarmej ) (name
) (mubarmej &
country=Kuwait&name=mubarmej name=mubarmej&country=Kuwait
url
url
) ( + States United
country=United+States&name=mubarmej
.
: .
http get post get
http://somewhere.com/script.cgi get
http://somewhere.com/script.cgi?name=mubarmej&country=United+States
get post
get
post )
( post get
) post
(.
: Text .
: Button .
: Checkbox on .
: File .
: Hidden HTML
HTML .
: Image .
: Password
) * (.
: Radio .
: Reset .
: Submit .
form select
textarea select option
.
.
echo.pl action
echo.pl.
.
:
>"<form action="echo.pl
>First Name : <input type="text" name="first_name"><br
>Secound Name : <input type="text" name="secound_name"><br
<input type="radio" name="exact"> Exact Match
><input type="radio" name="all"> All Words<br
>"<input type="hidden" name="todo" value="search
>"<input type="submit" value="Search
></form
get post
) (echo.pl .
input type text
value size .
>"<form action="echo.pl" method="get
>Username <input type="text" size="20" name="username"><br
>Email <input type="text" size="40" name="email"><br
>URL <input type="text" size="40" name="url" value="http://"><br
>"<input type="submit
></form
input type checkbox
name value do=subscribe
name do value subscribe
.
hidden .
>"<form action="echo.pl" method="get
><input type="checkbox" name="do" value="subscribe"> Subscribe.<br
>"<input type="submit
></form
input type radio
input name
value name
value .
>"<form action="echo.pl" action="get
>Age : <br
><input type="radio" name="age" value="17"> 10 - 17<br
><input type="radio" name="age" value="50"> 18 - 50<br
><input type="radio" name="age" value="100"> 51 - 100<br
>Gender : <br
<input type="radio" name="gender" value="male"> Male
><input type="radio" name="gender" value="female"> Female<br
>"<input type="submit
></form
select name
option value name select
value option .
>"<form action="echo.pl" method="get
>"<select name="country
<option value ="kw">Kuwait
<option value ="sa">Saudia
<option value ="ua">Emirates
<option value ="qt">Qatar
<option value ="bh">Bahrain
<option value ="om">Oman
></select
>"<input type="submit
></form
Textarea textarea ) (
post .
rows ) cols (.
meta
meta ! meta
meta
meta HTML head
.
meta name http-equiv meta name
http-equiv .
meta content name .http-equiv
keywords ) (
:
"<meta name="keywords" http-equiv="keywords
"=content,,,,,>"
.
name http-equiv :
: keywords .
: description .
: generator .
: author .
: content-type HTML
:
>"content="text/html; cahrset=windows-1256
: copyright .
.
windows-1256
Windows Windows 2000
Unicode Unix (Linux( .
meta content-type .
p align right
dir html rtl
Internet Explorer Netscape Navigator Sindbad
dir
.
>"<html dir="rtl
HTML
HTML Web Developing
.
Casscading Style Sheet CSS
H1 Font H1
HTML CSS
/http://www.w3.org/Style/CSS :
eXtensible Markup Language XML
CSS h6
h6 !
XML XML /http://www.w3.org/XML :
) (
/http://javascript.internet.com
./http://www.dynamicdrive.com
Common Gateway Interface CGI
CGI Perl
CGI
PHP
ASP NT UNIX
Perl /http://www.perl.com : PHP /http://www.php.net