0% found this document useful (0 votes)
80 views

HTML Basics

The document discusses the basic structure and elements of HTML5 including: 1) The structure of an HTML5 document including the <!DOCTYPE>, <html>, <head>, <title>, <body>, and use of <script> and <link> tags. 2) Additional meta tags like <meta charset>, <meta http-equiv>, and <meta name> for describing the document. 3) HTML comments with <!-- --> and conditional comments. 4) HTML primitives including optional start and end tags. 5) Basic HTML tags for formatting content like headings, paragraphs, breaks, emphasis, images and defining sections, links and lists.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views

HTML Basics

The document discusses the basic structure and elements of HTML5 including: 1) The structure of an HTML5 document including the <!DOCTYPE>, <html>, <head>, <title>, <body>, and use of <script> and <link> tags. 2) Additional meta tags like <meta charset>, <meta http-equiv>, and <meta name> for describing the document. 3) HTML comments with <!-- --> and conditional comments. 4) HTML primitives including optional start and end tags. 5) Basic HTML tags for formatting content like headings, paragraphs, breaks, emphasis, images and defining sections, links and lists.
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

S

C MO
I
S
AN
H
A K

B AMA

L BY Z

M ED
T
H REPACRO)
P IS
C

M
A
H

ED

E
AR
W
FT
SO

EN

ER
E
IN

AT

HTML5 STRUCTURE
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8>
<title>Document</title>
<link rel="stylesheet" href="styles/app.css">
<script src=js/jquery.js></script>
</head>
<body>
<h1>Hello World!</h1>
<script src=js/app.js></script>
</body>
</html>

MORE METATAGS
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initialscale=1">

HTML COMMENTS
<!-- This is a Comment -->
Conditional Comments
<!--[if lt IE 8]>
<p class="browserupgrade">You are using an
<strong>outdated</strong> browser. Please <a
href="http://browsehappy.com/">upgrade your browser</a>
to improve your experience.</p>
<![endif]-->

PRIMITIVES
Optional Start tags:
<html> <head><body><colgroup> <tbody>
Optional End tags:
</html> </head> </body></colgroup> </tbody>
</dt> </dd> </li> </thead> <th> </tr> </td> </tfoot> </p> </option>
Demo: Minimal HTML Markup
<!DOCTYPE html>
<title>a</title>
<p>Hello World!
HTML5 Validator
Live DOM Viewer
Primitives of HTML5

CONTENT TYPES

BASIC TAGS
Formatting Page Content (Headings, Paragraph, Line Breaks,
Emphasis, Special Characters, Images)
Sectioning Page ( Header, Footer, Main, Article, Section, Aside,
DIV, WAI-ARIA)
Creating Links
Creating Lists (Unordered List, Ordered List, Definition List)

You might also like