Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,000 --> 00:00:02,715
When a team of builders begin
constructing a building,
2
00:00:02,715 --> 00:00:05,775
one of their key tasks is
to assemble the frame.
3
00:00:05,775 --> 00:00:08,040
It doesn't matter
what building it is.
4
00:00:08,040 --> 00:00:11,535
It always starts with a
frame of beams and rafters.
5
00:00:11,535 --> 00:00:13,320
Once in place, the frame
6
00:00:13,320 --> 00:00:15,150
guides the rest of
the construction.
7
00:00:15,150 --> 00:00:17,450
If you compare a building
with a web page,
8
00:00:17,450 --> 00:00:20,430
an HTML document is a
lot like the frame,
9
00:00:20,430 --> 00:00:22,920
is a basic structure
assembled with
10
00:00:22,920 --> 00:00:25,470
different components such
as tags and elements.
11
00:00:25,470 --> 00:00:27,525
In this video, you
will learn about
12
00:00:27,525 --> 00:00:29,220
HTML documents and
the difference
13
00:00:29,220 --> 00:00:31,575
between HTML tags and elements.
14
00:00:31,575 --> 00:00:33,390
To begin, let me tell you
15
00:00:33,390 --> 00:00:35,695
a short story about
where it all started.
16
00:00:35,695 --> 00:00:38,255
Sir Tim Berners-Lee,
a physicist,
17
00:00:38,255 --> 00:00:40,280
often thought about how
he and his colleagues
18
00:00:40,280 --> 00:00:42,860
from around the world
would share information.
19
00:00:42,860 --> 00:00:45,110
He was so used to
browsing information
20
00:00:45,110 --> 00:00:48,335
online that it might seem a
silly thing to ponder about.
21
00:00:48,335 --> 00:00:50,810
Actually, that question
was very relevant at
22
00:00:50,810 --> 00:00:54,124
the time and started the
development of HTML,
23
00:00:54,124 --> 00:00:57,365
which you'd like to explore
the very first web page.
24
00:00:57,365 --> 00:00:59,450
I know just where to find it.
25
00:00:59,450 --> 00:01:01,580
The first web page
was created in
26
00:01:01,580 --> 00:01:04,340
1999 by Sir Tim Berners-Lee.
27
00:01:04,340 --> 00:01:06,500
He worked at the European
Organization for
28
00:01:06,500 --> 00:01:08,795
Nuclear Research or CERN,
29
00:01:08,795 --> 00:01:11,555
and originally proposed HTML.
30
00:01:11,555 --> 00:01:14,420
The first version of
HTML was released in
31
00:01:14,420 --> 00:01:18,575
1991 along with the first
web browser and web server.
32
00:01:18,575 --> 00:01:22,070
HTML stands for Hypertext
Markup Language.
33
00:01:22,070 --> 00:01:23,890
But what does that mean exactly?
34
00:01:23,890 --> 00:01:27,790
Hypertext is text which
contains links to other text.
35
00:01:27,790 --> 00:01:29,530
Markup refers to tags and
36
00:01:29,530 --> 00:01:31,505
elements used within a document.
37
00:01:31,505 --> 00:01:35,965
For now, let's just focus on
some of the basics of HTML.
38
00:01:35,965 --> 00:01:39,190
HTML is simply a text file with
39
00:01:39,190 --> 00:01:42,260
a specific structure that
consists of elements and tags.
40
00:01:42,260 --> 00:01:44,590
Also take note that HTML files
41
00:01:44,590 --> 00:01:47,125
usually have a dot HTML suffix.
42
00:01:47,125 --> 00:01:49,855
For instance, when
you visit a website,
43
00:01:49,855 --> 00:01:51,940
the first page that is
returned to the browser
44
00:01:51,940 --> 00:01:54,445
is often called index.html.
45
00:01:54,445 --> 00:01:58,210
Now, let's explore what
HTML tags and elements are.
46
00:01:58,210 --> 00:02:00,190
Each HTML element consists of
47
00:02:00,190 --> 00:02:03,100
an opening tag enclosed
in angle brackets.
48
00:02:03,100 --> 00:02:05,525
For example to
create a paragraph,
49
00:02:05,525 --> 00:02:07,430
you type a left angle bracket,
50
00:02:07,430 --> 00:02:09,185
the letter p for paragraph,
51
00:02:09,185 --> 00:02:10,985
and then a right angle bracket.
52
00:02:10,985 --> 00:02:13,790
Most elements are paired
with a closing tag,
53
00:02:13,790 --> 00:02:16,710
which has a forward slash off
to the left angle bracket.
54
00:02:16,710 --> 00:02:18,230
For example you close
55
00:02:18,230 --> 00:02:20,285
the paragraph element with
a left angle bracket,
56
00:02:20,285 --> 00:02:23,530
a forward slash the letter p
and a right angle bracket.
57
00:02:23,530 --> 00:02:27,125
HTML elements usually have
some content inside them.
58
00:02:27,125 --> 00:02:29,120
For example between the opening
59
00:02:29,120 --> 00:02:30,935
and closing tags of a paragraph,
60
00:02:30,935 --> 00:02:33,760
you add the text of the
paragraph you want to write.
61
00:02:33,760 --> 00:02:36,820
HTML elements can also
contain other elements,
62
00:02:36,820 --> 00:02:39,575
for example you can
add an italics element
63
00:02:39,575 --> 00:02:40,985
inside a paragraph element
64
00:02:40,985 --> 00:02:43,190
to make texts appear in italics.
65
00:02:43,190 --> 00:02:46,400
Elements can also be
empty or self-closing,
66
00:02:46,400 --> 00:02:49,415
meaning they do not have
a closing HTML tag.
67
00:02:49,415 --> 00:02:51,725
One example of a
self-closing element
68
00:02:51,725 --> 00:02:52,880
is the line break tag.
69
00:02:52,880 --> 00:02:55,880
You can add a line break
tag in a paragraph tag to
70
00:02:55,880 --> 00:02:57,575
move content to
the following line
71
00:02:57,575 --> 00:02:59,405
by typing left angle bracket,
72
00:02:59,405 --> 00:03:00,770
the letters br,
73
00:03:00,770 --> 00:03:02,255
then right angle bracket.
74
00:03:02,255 --> 00:03:04,250
At the end of a
self-closing tag,
75
00:03:04,250 --> 00:03:06,530
you simply add a
right angle bracket.
76
00:03:06,530 --> 00:03:07,760
You can also close
77
00:03:07,760 --> 00:03:09,110
the right angle bracket by
78
00:03:09,110 --> 00:03:11,395
typing a forward slash
right before it.
79
00:03:11,395 --> 00:03:13,580
Now that you know what
elements and tags are,
80
00:03:13,580 --> 00:03:16,100
you will explore what
HTML standards are.
81
00:03:16,100 --> 00:03:18,305
The rules and structure
for elements and tags
82
00:03:18,305 --> 00:03:20,630
are known as the
HTML specification.
83
00:03:20,630 --> 00:03:22,460
The HTML specification is
84
00:03:22,460 --> 00:03:24,965
maintained by the World
Wide Web Consortium,
85
00:03:24,965 --> 00:03:27,770
or W3C, as it is commonly known.
86
00:03:27,770 --> 00:03:30,575
Whenever the HTML
specification changes,
87
00:03:30,575 --> 00:03:33,289
a new version of HTML
is standardized,
88
00:03:33,289 --> 00:03:35,865
the current version is HTML 5.
89
00:03:35,865 --> 00:03:38,330
To summarize, HTML elements
90
00:03:38,330 --> 00:03:39,730
with their opening
and closing tags,
91
00:03:39,730 --> 00:03:42,830
and angle brackets build
up an HTML document.
92
00:03:42,830 --> 00:03:45,560
These elements form the
structure of a web page
93
00:03:45,560 --> 00:03:48,625
and describe to the web
browser what to display.
94
00:03:48,625 --> 00:03:52,070
For example the browser
reads an HTML page that has
95
00:03:52,070 --> 00:03:56,165
an image tags display an
image file called icon.png.
96
00:03:56,165 --> 00:03:57,680
Next, it reads
97
00:03:57,680 --> 00:04:00,865
a p tag to display a
paragraph under that image.
98
00:04:00,865 --> 00:04:03,320
But the browser reads
the HTML document and
99
00:04:03,320 --> 00:04:06,710
displays the web page to the
user in a very basic format.
100
00:04:06,710 --> 00:04:08,510
Now, if you want to tell
101
00:04:08,510 --> 00:04:10,415
the browser how to
display the web page,
102
00:04:10,415 --> 00:04:12,290
you should use CSS.
103
00:04:12,290 --> 00:04:15,010
You will learn more about
CSS in this course.
104
00:04:15,010 --> 00:04:18,005
By now, you have learned
how HTML tags are used
105
00:04:18,005 --> 00:04:19,340
to create elements that
106
00:04:19,340 --> 00:04:21,095
build the structure
of a web page.
107
00:04:21,095 --> 00:04:22,805
You'll have an
opportunity to explore
108
00:04:22,805 --> 00:04:25,860
HTML in action in this course.7874
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.