-
Notifications
You must be signed in to change notification settings - Fork 0
/
website.html
38 lines (28 loc) · 1.09 KB
/
website.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
<!--Proper structure of HTML files-->
<!DOCTYPE html> <!--This tells the browser to use the latest html-->
<html>
<head>
<title>
First website
</title>
</head>
<body>
<!-- "<name> is a tag a and a tag name following with a closing tag"-->
<p>
This is a paragraph of text cc
</p> <!--This is used to create a paragraph-->
<button>
Hello
</button> <!--This is used to create a button-->
<!--<a>Link to youtube</a> This is used to create a link to click on ur website-->
<a href = "https://www.youtube.com/" target = "_blank">
Link to youtube
</a>
<!-- here href is an html attribute that modifies how an element behaves-->
<!--here href is the attribute name and the inside "" is the value to the attribute-->
<!--we can add multiple attributes by just adding a space-->
<!--Target attribute tells us if the link opens in a new page or in the same page by default it is the same page-->
<!--target = "_blank" opens in a new tab-->
<!--CSS = "Cascading Style sheets" used to change the appearence of the HTML elements-->
</body>
</html>