-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDay4.html
69 lines (66 loc) · 2.25 KB
/
Day4.html
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<html>
<head>
<title>Fourth day at Projection Education</title>
</head>
<body>
<header>
Date: 11-Apr-18 (Wednesday)
<span>
Day 4</span>
</header>
<!--Topic of the day-->
<h1>
HTML (Types of Protocol and Anchor Tag's attribute)
</h1>
<!-- What they tought-->
<ol>
<li> Types of Protocols</li>
<li>Anchor Tag's attribute "Target"</li>
</ol>
<h2>
1. Types of Protocol
</h2>
<p>
There are four types of protocols.</p>
<ul>
<li>http(Hyper text transfer protocol)this is the general protocol which every site have.</li>
<li>https(Hyper text transfer protocol secure) it means on site data is being transferred with safety and privately.</li>
<li>ftp(File transfer protocol) Torrent sites use this.</li>
<li>file Protocol :- to access Computer's file</li>
</ul>
<b>Note:- In most cases Global link with "https" protocol can't be accessed in iframe.</b>
<h2>
2. Anchor Tag's attribute "Target".
</h2>
<p>
Traget Attribute have Five Values.</p>
<ul>
<li>
_self :- It is the default value of target attribute. It means when we click on the link the hyperlink refrence will open in same tab.
</li>
<li>_blank :- If we type _blank as the value of target attribute so when we click on the link the page will open in new tab.</li>
<p> <b>Note:- "_top" and "_parent" values are only usefull when we have two or more iframes in one webpage</b></p>
<li>_top :- When we need the webpage to be loaded at top level parent.</li>
<li>_parent:- When we need the webpage to be loaded at parent parent.</li>
<li>Name of any iframe.</li>
</ul>
<a href="Center%20Assignments/iframe.html">See Example</a>
<br/><br/>
<!-- Second Page Link-->
<a href="Day5.html">Day5</a>
</body>
</html>