Professional Documents
Culture Documents
03 HTML
03 HTML
HTML 01
4. Hosting service
1. Ví dụ mở đầu
2. Thẻ HTML
Ví dụ mở đầu
File html: MinhHoa\helloworld.html
<html> <p>
<head> My first paragraph.
<title>My first First line. <br>
title</title> Second line.
</head> </p>
</body>
<body> </html>
<h1>My First
Heading</h1>
Thẻ HTML:
Thẻ được quy định trong ngoặc nhọn. Vd: <body>
Thẻ HTML
Thẻ HTML – HTML Element
Thẻ lồng: đặc trưng của ngôn ngữ thể hiện (markup language)
<p>
</p>
Vd: MinhHoa\attributes.html
<body bgcolor='green'>
<a href="http://www.w3schools.com">
<html> <p>
<head> My first paragraph.
<title>My
i first
i First
i line.
i <br>
title</title> Second line.
</head> </p>
</body>
<body> </html>
<h1>My First
Heading</h1>
C D<br/>E
SGU - Khoa CNTT -Thiết kế & Lập trình web 9
MinhHoa\paragraph.html
http://www.w3schools.com/html/html_formatting.asp
http://www.w3schools.com/html/html_lists.asp
Vd: MinhHoa\table.html
Vd: http://www.w3schools.com/html/html_tables.asp
http://www w3schools com/html/html tables asp
Tiêu đề dòng, cột
Vd:
Cần hiển thị <sgu> Kí tự < và >
MinhHoa\special.html
http://www.utexas.edu/learn/html/spchar.html
SGU - Khoa CNTT -Thiết kế & Lập trình web 17
Vd: MinhHoa\comment.html
http://www.w3schools.com/html/
http://www.tizag.com/htmlT/reference/htmlreference
.php
http://www.netstrider.com/tutorials/HTMLRef/comm
ands/index.html
www.google.com
Sử dụng
ụ gpphần mềm Notepad:p copy
py & p
paste & soạn
ạ
thảo một số file *.html Xem trên Firefox