Front End Development - HTML
Front End Development - HTML
- HTML
SESSION 1
TABLE OF CONTENTS
● What is HTML?
● Features
● Html editor
● Html skeleton
● Comments
● Html elements
● Basic tags
WHAT IS HTML?
<!DOCTYPE html>
<html lang="en">
<head>
<title>document</title>
</head>
<body></body>
</html>
<!DOCTYPE HTML>
</HTML>
<HEAD>
<BODY>
• BLOCK LEVEL :
○ Takes up full block or width and adds structure in the web page
○ Always starts from new line
○ Always end before the new line
○ EXAMPLE : ■ <p>
■ <div>
■ <h1>... <h6>
■ <ol>
■ <ul>
● INLINE LEVEL:
○ Takes up what is requires and adds meaning to the web page
○ Always starts from where the previous element ended
○ EXAMPLE :
■ <span>
■ <em>
■ <strong>
■ <img>
■ <a>
BASIC TAGS:
● Enclosed within <>
● Different tags render different meaning .
● <title> tag
○ Syntax: <title>Home</title>
● <p> tag
○ Defines the paragraph
○ Syntax: <p>This is our first paragraph</p>
● <h1> tag….. <h6>tag
● <sup> tag
● <hr> tag
○ Stands for horizontal rule tag
○ Inserts a horizontal line
○ Commonly used to separate content sections
○ Example:
<hr>
● <img> tag
○ Stands for image tag
○ Embeds an image into the page
○ Uses the src attribute to specify the image source URL
○ Uses the alt attribute to provide alternative text for the image
○ Example: <img src="image.jpg" alt="Description of the image">
Thank you!