-
Notifications
You must be signed in to change notification settings - Fork 5
L 06 ~ L 10
Islam Ahmed Hassan edited this page Mar 14, 2021
·
3 revisions
<!doctype html>
-
- The Tag is responsible for defining the page code : Stands for HTML5 - *Must be added in every html page at the top* - Without it the browser will switch from standard mode to Quirks mode and then will not render the html page correctly - It is not case sensitive == <!DOCTYPE HTML>
<body>
<!-- h1 - h6 -->
<h1>Book Store</h1>
<h2>Chapter Title Inside Book</h2>
<h3>Story Title Inside Chapter</h3>
<h4>Book Store</h4>
<h5>Book Store</h5>
<h6>Book Store</h6>
This Is My Book Store, Welcome
</body>
-
- Block element by default - The Tag is responsible for defining the heading - *The hierarchal order Must be followed to be friendly to the search engines*
<meta
name = "description"
content = "This Is Our Book Store" />
-
- The attribute value can be used with single quote '' or double "" or Mixed '" or none in case of single word * but this is not recommended*
<body>
<h1>Book Store</h1>
<p>This Is My Book Store, Welcome</p> <p>We Have A Big Sale</p>
</body>
-
- Block element by default - used for Paragraphs under the heading
<img src="" alt="">
<p></p>
<a href=""></a>
<audio src=""></audio>
<video src=""></video>
-
- There are two types of attributes : global and element specific. - global ex. : class - specific ex. : src