-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQuestions.html
More file actions
72 lines (61 loc) · 1.69 KB
/
Copy pathQuestions.html
File metadata and controls
72 lines (61 loc) · 1.69 KB
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
70
71
72
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
.topnav {
overflow: hidden;
background-color: black;
}
.topnav a {
float: left;
color:white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: black;
color: white;
}
.topnav a.active {
background-color:black;
color: white;
}
</style>
</head>
<body>
<div class="topnav">
<a class="active" href="index.html">Index</a>
<a href="About_Me.html">About Me</a>
<a href="Interests.html">Interests</a>
<a href="gallery.html">Gallery</a>
<a href="Contact_Me.html">Contact Me</a>
<a href="Questions.html">Questions</a>
</div>
<div style="padding-left:16px">
<title>Page Title</title>
<style>
body {background-color: lightgreen;}
h1 {color: red;}
p {color: blue;}
</style>
</head>
<body>
<p id="demo" style="color:red;"></p>
<script>
document.getElementById("demo").innerHTML = Date();
</script>
<h1><u>Questions</h1></u>
<p>1. Discuss what is the point of a markup language?</p>
<p>2.Discuss when would you use absolute pathnames (URLs) and when Relative Pathnames?</p>
<p><u><h1 style color:red;>Answers</p></h1></u>
<p>1.Markup languages are commonly used in HTML. The language species the code to formate the layout and the style. In addition, it processes, and presentation of text.</p>
<p>2. If the webpage exists in the same domain, then we can use a relative path.If the webpage is from a differnt domain and we can use an absolute path.
</p>
</body>
</html>