-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path#2_ html_web_dev_notes.txt
47 lines (37 loc) · 1.65 KB
/
#2_ html_web_dev_notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
html: hyper-text markup language
uses hyperlinks
element: opening tag + content + closing tag
tag: enclosed in <>
// ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
heading tag: <h1>, </h1>
paragraph tag: <p>, </p>
horizontal rule element: <hr /> or <hr> (inserts a line)
break element: <br /> or <br>
unordered list tag: <ul>, </ul>
syntax: <ul>
<li> </li>
<li> </li>
.
.
.
</ul>
ordered list tag: <ol>, </ol>
syntax: <ol>
<li> </li>
<li> </li>
.
.
.
</ol>
anchor element: <a>, </a>
syntax: <a attribute=value>, </a>
ex: <a href="https://web.whatsapp.com/">WhatsApp</a>
void elements:
horizontal rule element: <hr /> or <hr> (inserts a line)
break element: <br /> or <br>
image element: <img src="url" alt="small_description"> (enter a url, and a small description[Alternate Text Description])
// ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
multi-page websites: made up of webpages
multiple files stored in the same folder
ex: index.html, about.html, contact.html
// ~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*