Professional Documents
Culture Documents
HTML 5 Basics
1
Contents
Introduction to HTML
HTML versions
Beginning HTML Programming
General Syntax
Introduction to Adobe Dreamweaver
Creating your first Web Page
Understanding the Structure of a Page
Running your First Web Page
2
What is a markup? Demo
3
What is a markup? Demo
4
What is a markup? Demo
5
Introduction to HTML
6
HTML
Hypertext Markup Language (HTML) is the main
markup language for creating web pages and other
information that can be displayed in a web browser.
The purpose of a web browser is to read HTML
documents and compose them into visible or audible
web pages. The browser does not display the HTML tags,
but uses the tags to interpret the content of the page.
HTML elements form the building blocks of all websites.
HTML allows images and objects to be embedded and
can be used to create interactive forms.
It provides a means to create structured documents by
denoting structural semantics for text such as headings,
paragraphs, lists, links, quotes and other items. It can
embed scripts written in languages such as JavaScript
which affect the behavior of HTML web pages.
7
Standard Generalized Markup
Language
SGML (Standard Generalized Markup Language) is a
standard for how to specify a document markup
language or tag set. Such a specification is itself a
document type definition (DTD).
SGML is not in itself a document language, but a
description of how to specify one. It is metadata.
SGML is based on the idea that documents have
structural and other semantic elements that can be
described without reference to how such elements
should be displayed. The actual display of such a
document may vary, depending on the output medium
and style preferences.
The language that this Web browser uses, Hypertext
Markup Language (HTML), is an example of an SGML-
8 based language.
W3C
9
HTML Versions
10
HTML Complier
11
Tools for HTML Development
Microsoft Notepad
Notepad++
Adobe Dreamweaver
12
Beginning HTML Programming
13
Beginning HTML Programming
14
<!doctype> declaration
15
<!doctype> declaration
16
The General Syntax
17
Understanding Page Structure
Necessary Structure is
First Line DOCTYPE
HTML -> head -> title -> body
18
HTML Web Page
<!doctype html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
19
HTML Examples
The doctype declaration defines the document type to
be HTML
The text between <html> and </html> describes an
HTML document
The text between <head> and </head> provides
information about the document
The text between <title> and </title> provides a title
for the document
The text between <body> and </body> describes the
visible page content
The text between <h1> and </h1> describes a
heading
The text between <p> and </p> describes a paragraph
20
21
22
Creating your first Web Page
23
Creating your
Creating first
your Web
first Page
Web Page
24
Running your First Web Page
25
W3C Validator
26
Adobe Dreamweaver Validator
27
Thank you!
28