Introduction to HTML5
Introduction to HTML5
1. What is HTML?
Key Points
HTML Timeline
3. HTML 3.2 (1997) – Added support for scripting, tables, and applets.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>My First HTML Page</title>
</head>
<body>
<h1>Welcome to HTML5</h1>
<p>This is my first webpage.</p>
</body>
</html>
Explanation
Example of Elements
Tag Description
<h1> to <h6> Headings ( h1 is the largest and h6 is the
smallest )
<p> Paragraph
<img scr=”…” alt=”…”> Image
<a href=”…”> Link ( anchor tag )
<ul>, <ol>, <li> Lists ( Unordered, ordered and list item )
Practice Exercise
A title
A heading (<h1>)
A paragraph (<p>)
Steps:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-
scale=1.0">
<title>My First Webpage</title>
</head>
<body>
<h1>Hello, HTML5!</h1>
<p>This is my first HTML5 document.</p>
</body>
</html>