Element
Attributes
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Hello World</title>
</head>
<body>
<h1>Hello World</h1>
<p>This is a web page.</p>
</body>
</html>
<br/> | <embed/> | <hr/> |
---|---|---|
<img/> | <input/> | <link/> |
<meta/> |
<h1 style="color: red">Hello World</h1>
<!DOCTYPE html>
<html>
<head>
<title>My first page!</title>
<style>
h1 {
color: red;
}
</style>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>My first page!</title>
<link rel="stylesheet" href="styles-content.css">
<link rel="stylesheet" href="styles-links.css">
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
same as css...
...but with a twist!