Professional Documents
Culture Documents
1.3.2.Tạo Danh Sách Và Bảng Phu Vn
1.3.2.Tạo Danh Sách Và Bảng Phu Vn
1.3.2.Tạo Danh Sách Và Bảng Phu Vn
v=M19G7b34_Eo
1
00:00:00,140 --> 00:00:03,240
2
00:00:03,240 --> 00:00:10,240
Let's talk about two HTML
elements that come as a package deal
Hy cng tm hiu v hai thnh phn trong HTML gn kt vi nhau
3
00:00:11,750 --> 00:00:14,859
with parent and child tags. Those are
lists
c s dng th cha v th con. Chng l danh sch
00:00:14,859 --> 00:00:18,730
and tables. There are two kinds of lists
v bng. C hai loi danh sch
5
00:00:18,730 --> 00:00:23,850
- ordered lists and unordered lists. You
can use either as long as you remember
c sp xp v khng c sp xp. Bn c th s dng bt k min l bn ghi nh
6
00:00:23,850 --> 00:00:25,400
which one you used.
bn s dng loi no.
7
00:00:25,399 --> 00:00:29,358
The <ol> or <ul> tag is the parent
tag.
Th <ol> hoc <ul> l th cha.
8
00:00:29,359 --> 00:00:32,410
within it, every list item - that's
Nm trong l mi mc ca danh sch,
9
00:00:32,409 --> 00:00:36,439
every piece of information on your list
needs to be a
tt c mu thng tin nm trong danh sch ca bn cn c t trong
10
00:00:36,439 --> 00:00:39,689
<li> tag, which itself stands for list
th <li>, tng trng cho tng mc ca danh sch.
11
00:00:39,689 --> 00:00:46,399
item. Here's what it looks like on the
screen. The reason lists are so important
Trn mn hnh n s hin th nh th ny. Nguyn nhn khin cho danh sch tr nn quan trng
12
00:00:46,399 --> 00:00:49,450
is that they're the most common way to build
the navigation menu.
l v chng l cch thng dng nht to ra lnh n nh hng.
13
26
00:01:34,810 --> 00:01:41,150
<tr> which stands for table row. Every
horizontal row you want to create in your
<tr> tng trng cho hng ca mt bng. Mi hng ngang bn mun to ra
27
00:01:41,150 --> 00:01:41,880
table
trong bng ca mnh
28
00:01:41,879 --> 00:01:46,599
is going to be in a <tr> tag. Finally,
s l mt th <tr>. Cui cng,
29
00:01:46,599 --> 00:01:49,709
the child tag of <tr> is <td>,
th con ca <tr> l <td>,
30
00:01:49,709 --> 00:01:54,478
which stands for table data. You may hear it
called a cell
tng trng cho thng tin ca bng. Bn c th nghe ngi khc gi n l mt
31
00:01:54,478 --> 00:01:58,140
or maybe just "the box where you actually
put the stuff.
hoc l " ci hp ni bn ".
32
00:01:58,140 --> 00:02:02,118
You can put images, texts whatever you
want in the <td> tag.
Bn c th nhp hnh nh, ch hoc bt c th g bn mun trong th <td>.