4. World Wide Web •
Web Browser •
HyperText Markup Language HTML •
•
Hyperlink •
World Wide Web Consortium (W3C) •
Internet Engineering Task Force (IETF)
•
12. HTML
•
HTML •
Word PDF •
Markup Language Tag HTML •
XML
HTML •
•
/
<tagName>tagdata here, as mush as you want </tagName>
13. •
–
–
–
•
•
<tag attribute1=“attributeValue” attribute2=“attributeValue2”>
<innerTag> some data <anotherInnerTag /> </innerTag>
</tag>
•
14. XML •
<html> HTML
HTML XML •
HTML 4.01 Strict
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
HTML 4.01 Transitional
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"
HTML 4.01 Frameset
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
15. XHTML 1.0 Strict
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
XHTML 1.0 Transitional
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
transitional.dtd">
XHTML 1.0 Frameset
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
frameset.dtd">
XHTML 1.1 (strict)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
16. Head HTML •
Body
<html>
<head>
<title> Sample Webpage </title>
</head>
<body>
<p> hello there this is a paragraph </p>
<p> hello again another paragraph with <b> bold </b> text! </p>
</body>
</html>
17. HTML •
.1
ASCII .1
.2
Unicode .3
UTF-8
.2
Enter
18. HTML
Space whitespace .1
<>& .2
< < .1
> > .2
& .3
HTML .3
Microsoft Frontpage .1
Adobe Dreamweaver .2
ZendStudio for Eclipse .3
30. <a>
A
URL href –
Name –
Target –
_blank •
_parent •
_self •
•
Body
31. <a>
<html>
<body>
<p> This is a sample paragraph. Click
<a href='http://www.google.com'>Here</a>
to visit Google website.
<br/>
<a href='http://hackersite.com/hack.html'
title='Click me to die!'>Yahoo!</a>
<br/><br/>
<a href='http://somesite.com/somepage.html#anchor'>
<img src='img.gif' />
</a>
</body>
</html>
55. HTML
HTTP •
HTML
Submit HTML •
Get •
Post Get •
URL Get –
Post –
Get Post •
http://hosting.pershe.com/viewticket.php?tid=109338&c=X4jQ3Ukc
c , tid Get
56. <form>
Form HTML •
Submit
Enter
•
Get/Post Method –
Action –
•
<form></form>
<form action=„getData.php‟ method=„get‟></form>
<form action=„http://google.com/‟ method=„get‟></form>
57. <input>
•
type
Button –
Checkbox –
File –
Hidden –
Password –
Radio Radio –
Text –
Submit –
Reset –
58. <input>
<html><body>
<form method='get'>
<input type='checkbox'> I am a checkbox! <br/>
<input type='file'> <br/>
<input type='password' value='sth'> <br/>
<input type='radio'> Radio button! <br/>
<input type='text' value='Normal!'> <br/>
<input type='submit'> | <input type='button'>
</form>
</body></html>
59. <input>
input •
input
Checkbox Radio Checked –
Checked=„Checked‟ or else
Disabled –
password text MaxLength –
password text Readonly –
Size –
Value –
Name –