File tree 7 files changed +121
-0
lines changed
02- Heading And Attributes
7 files changed +121
-0
lines changed Original file line number Diff line number Diff line change
1
+ <!-- Question 1 Answer -->
2
+ <!DOCTYPE html>
3
+
4
+ <!-- Question 2 Answer -->
5
+ "Quirks mood"
6
+
7
+ <!-- Question 3 Answer -->
8
+ "No"
9
+
10
+ <!-- Question 4 Answer -->
11
+ "No"
12
+
13
+ <!-- Question 5 Answer -->
14
+ h1 = Heading 1 "The Biggest"
15
+ h2 = Heading 2
16
+ h3 = Heading 3
17
+ h4 = Heading 4
18
+ h5 = Heading 5
19
+ h6 = Heading 6 "The Smallest"
20
+
Original file line number Diff line number Diff line change
1
+ <!-- Is there a difference between these elements when they are shown on the page or not? -->
2
+
3
+ < p class ="element "> Welcome To The New World</ p >
4
+ < p class ='element '> Welcome To The New World</ p >
5
+ < p class =element > Welcome To The New World</ p >
6
+
7
+ <!-- Answer -->
8
+ "No, there is no difference between them"
Original file line number Diff line number Diff line change
1
+ <!-- Is there a difference between these elements when they are shown on the page or not? -->
2
+
3
+ < p class =element hidden > Welcome To The New World</ p >
4
+ < p class ="element " hidden > Welcome To The New World</ p >
5
+
6
+ <!-- Answer -->
7
+ "No, there is no difference between them Because both of them will be hidden"
Original file line number Diff line number Diff line change
1
+ <!-- Will these elements all appear the same or not? -->
2
+
3
+ < p > Hello World </ p >
4
+
5
+ < p >
6
+ Hello World
7
+ </ p >
8
+
9
+ < p >
10
+ Hello
11
+ World
12
+ </ p >
13
+
14
+ < p >
15
+ Hello
16
+
17
+
18
+ World
19
+ </ p >
20
+
21
+ <!-- Answer -->
22
+ "Yes"
Original file line number Diff line number Diff line change
1
+ <!-- Is it Global Attribute or Element Attribute? -->
2
+
3
+ <!--
4
+ title => Global Attribute
5
+ href => Element Attribute
6
+ src => Element Attribute
7
+ hidden => Global Attribute
8
+ charset => Element Attribute
9
+ class => Global Attribute
10
+ id => Global Attribute
11
+ type => Element Attribute
12
+ -->
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="UTF-8 " />
5
+ < title > Brand Store </ title >
6
+ < meta name ="description " content ="This is Clothes Store " />
7
+ < style > </ style >
8
+ < script > </ script >
9
+ < link rel ="" href ="" />
10
+ </ head >
11
+ < body >
12
+ < center > < h1 > Brand Store</ h1 > </ center >
13
+
14
+ < center > < h2 > For Men</ h2 > </ center >
15
+ < h3 > Jacket</ h3 >
16
+ < p > Available sizes: M, L, XL, XXL</ p >
17
+ < hr >
18
+ < h3 > Trouser</ h3 >
19
+ < p > Available sizes: M, L, XL</ p >
20
+ < hr >
21
+ < h3 > T-shirt</ h3 >
22
+ < p > Available sizes: S, M, L, XL</ p >
23
+
24
+ < center > < h2 > For Women</ h2 > </ center >
25
+ < h3 > Dress</ h3 >
26
+ < p > Available sizes: M, L, XL, XXL</ p >
27
+ < hr >
28
+ < h3 > Trouser</ h3 >
29
+ < p > Available sizes: M, L, XL</ p >
30
+ < hr >
31
+ < h3 > T-shirt</ h3 >
32
+ < p > T-Available sizes: S, M, L, XL</ p >
33
+ </ body >
34
+ </ html >
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html >
3
+ < head >
4
+ < meta charset ="UTF-8 " />
5
+ < title > My First Page</ title >
6
+ < meta name ="description " content ="This is an HTML page " />
7
+ < style > </ style >
8
+ < script > </ script >
9
+ < link rel ="" href ="" />
10
+ </ head >
11
+ < body >
12
+ < h1 > My Page</ h1 >
13
+ < p > This is my page</ p >
14
+ < p > This is my first work</ p >
15
+ < h2 > Section One</ h2 >
16
+ < p > This is section one</ p >
17
+ </ body >
18
+ </ html >
You can’t perform that action at this time.
0 commit comments