diff --git a/index.html b/index.html index 7c5c5c0..c8e5514 100644 --- a/index.html +++ b/index.html @@ -45,7 +45,7 @@
Create a folder that contains the file index.html (or download it). What seems to be the difference between <div>, <h1>, and <em>? Create a heading that is in italics.
+<div> is a generic container which inherently does not represent anything.
<h1> is used to create a large heading on the page. There are different heading levels, from the largest(<h1>), to the smallest(<h6>).
<em> is used to Emphasize a portion of text.
So, what is the difference between <em> and <i>?
The <em> tag stresses emphasis of its contents, while the <i> tag represents text that is set off from the normal prose, such as the name of a movie or book, a foreign word, or when the text refers to the definition of a word instead of representing its semantic meaning.
Solution:
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="UTF-8">
+ <title>Lesson 1</title>
+ </head>
+ <body>
+ <h1><i>Heading in Italics!</i></h1>
+ </body>
+</html>