-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcode2.html
More file actions
29 lines (27 loc) · 1.45 KB
/
code2.html
File metadata and controls
29 lines (27 loc) · 1.45 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
<!DOCTYPE html> <!--<a></a> tag learning with href attributes which is compulsory with <a href = ""></a> tag-->
<!--learning h1 headers and head meta attributes-->
<!--meta charset defines the characters and symbols used in the language encoding used-->
<!--utf-8 is is character encoding-->
<!-- control slash to comment line shortcut key -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="testing html">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML anchor(a) tags header tags</title>
</head>
<body>
<!-- to edit start and end of a tag
press left click on the tag then hold alt and press left click
on the other tag and edit it both at the same time
-->
<!-- shift + alt + downward arrow to copy and paste line pointed by cursor -->
<h1>elements in header</h1> <!--h1 and the content within itself makes element-->
<h2>Heading <span>Two</span></h2> <!--span tag is modifiable by css-->
<a href="https://www.google.com">Google</a> <!--href = hyper link reference (Google) = name of the link and the href contains the actual link to the webpage-->
<br> <!--br tag is used to break a line -->
<a href = "https://www.youtube.com">Youtube</a>
<!--<a href> => this tag used to provide links to other websites-->
<!--<a href = "link...">name...of...the...link</a>-->
</body>
</html>