Skip to content

Commit

Permalink
block and inline elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Li-YangZhong committed Feb 1, 2020
0 parents commit f5eaf0e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions 002/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
span {
color: red;
}

</style>
</head>
<body>
<h1>Main Heading</h1>
<h2>Second Level Heading</h2>
<div>This is a div element</div>
<p>Here is a paragraph within container div!! Also added <span> a span</span> element within the paragraph!!</p>
<span>A different span element!!</span>
<span>Another span element!!</span>
<p>Here is another paragraph</p>
</body>
</html>

0 comments on commit f5eaf0e

Please sign in to comment.