SlideShare a Scribd company logo
HTML
INTRODUCTION, EDITORS, BASIC,
ELEMENTS, ATTRIBUTES
WHAT IS HTML?
• HTML is a language for describing web pages.
• HTML stands for Hyper Text Markup Language
• HTML is a markup language
• A markup language is a set of markup tags
• The tags describes document content
• HTML documents contain HTML tags and plain text
• HTML documents are also called web pages
Apep Kamaludin, MT. | http://www.w3schools.com
HTML TAGS
HTML markup tags are usually called HTML tags
HTML tags are keywords (tag names) surrounded by angle
brackets like <html>
HTML tags normally come in pairs like <b> and </b>
The first tag in a pair is the start tag, the second tag is the end
tag
The end tag is written like the start tag, with a forward
slash before the tag name
Start and end tags are also called opening tags and closing
tags
Apep Kamaludin, MT. | http://www.w3schools.com
<tagname> content </tagname>
HTML ELEMENTS
"HTML tags" and "HTML elements" are often used to describe
the same thing.
But strictly speaking, an HTML element is everything between the
start tag and the end tag, including the tags:
HTML Element:
Apep Kamaludin, MT. | http://www.w3schools.com
<p> This is a paragraph. </p>
WEB BROWSERS
The purpose of a web browser (Chrome, Internet
Explorer, Firefox) is to read HTML documents and
display them as web pages. The browser does not
display the HTML tags, but uses the tags to interpret
the content of the page:
Apep Kamaludin, MT. | http://www.w3schools.com
HTML PAGE STRUCTURE
Below is a visualization of an HTML page structure:
<html>
<body>
<h1>This a Heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>
Apep Kamaludin, MT. | http://www.w3schools.com
HTML VERSIONS
Version Year
HTML 1991
HTML+ 1993
HTML 2.0 1995
HTML 3.2 1997
HTML 4.01 1999
XHTML 1.0 2000
HTML5 2012
XHTML5 2013
Apep Kamaludin, MT. | http://www.w3schools.com
THE <!DOCTYPE> DECLARATION
There are many different documents on the web, and a browser can only display an HTML
page 100% correctly if it knows the HTML type and version used.
The <!DOCTYPE> declaration helps the browser to display a web page correctly.
Common Declarations
HTML5
<!DOCTYPE html>
HTML 4.01
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
XHTML 1.0
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Apep Kamaludin, MT. | http://www.w3schools.com
HTML EDITORS
Writing HTML Using Notepad or TextEdit
HTML can be edited by using a professional HTML editor like:
• Adobe Dreamweaver
• Microsoft Expression Web
• CoffeeCup HTML Editor
However, for learning HTML we recommend a text editor like
Notepad (PC) or TextEdit (Mac). We believe using a simple text
editor is a good way to learn HTML.
Apep Kamaludin, MT. | http://www.w3schools.com
HTML EDITORS
Follow the 4 steps below to create your first web page with
Notepad.
Step 1: Start Notepad
To start Notepad go to:
Start
All Programs
Accessories
Notepad
Apep Kamaludin, MT. | http://www.w3schools.com
HTML EDITORS
Step 2: Edit Your HTML with Notepad
Type your HTML code into your Notepad:
Apep Kamaludin, MT. | http://www.w3schools.com
HTML EDITORS
Step 3: Save Your HTML
Select Save as.. in Notepad's file menu.
When you save an HTML file, you can use either the .htm or the
.html file extension. There is no difference, it is entirely up to you.
Save the file in a folder that is easy to remember, like w3schools.
Apep Kamaludin, MT. | http://www.w3schools.com
HTML EDITORS
Step 4: Run the HTML in Your Browser
Start your web browser and open your html file from
the File, Open menu, or just browse the folder and double-click your
HTML file.
The result should look much like this:
Apep Kamaludin, MT. | http://www.w3schools.com
HTML BASIC
HTML Headings
HTML headings are defined with the <h1> to <h6>
tags.
Example
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
Apep Kamaludin, MT. | http://www.w3schools.com
HTML BASIC
HTML Paragraphs
HTML paragraphs are defined with the <p> tag.
Example
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
Apep Kamaludin, MT. | http://www.w3schools.com
HTML BASIC
HTML Links
HTML links are defined with the <a> tag.
Example
<a href="http://www.w3schools.com">This is a link</a>
Note: The link address is specified in the href attribute.
(You will learn about attributes in a later chapter of this tutorial).
Apep Kamaludin, MT. | http://www.w3schools.com
HTML BASIC
HTML Images
HTML images are defined with the <img> tag.
Example
<img src="w3schools.jpg" width="104" height="142">
Note: The filename and the size of the image are provided as attributes.
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ELEMENTS
HTML documents are defined by HTML
elements.
An HTML element is everything from the start
tag to the end tag:
* The start tag is often called the opening tag. The end tag is often called
the closing tag.
Apep Kamaludin, MT. | http://www.w3schools.com
Start tag * Element content End tag *
<p> This is a paragraph </p>
<a href="default.htm"> This is a link </a>
<br>
HTML ELEMENTS
HTML Element Syntax
An HTML element starts with a start tag / opening tag
An HTML element ends with an end tag / closing tag
The element content is everything between the start and the end tag
Some HTML elements have empty content
Empty elements are closed in the start tag
Most HTML elements can have attributes
Tip: You will learn about attributes in the next chapter of this tutorial.
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ELEMENTS
Nested HTML Elements
Most HTML elements can be nested (can contain other HTML
elements).
HTML documents consist of nested HTML elements.
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ELEMENTS
HTML Document Example
<!DOCTYPE html>
<html>
<body>
<p>This is my first paragraph.</p>
</body>
</html>
The example above contains 3 HTML elements.
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ELEMENTS
Don't Forget the End Tag
Some HTML elements might display correctly even if you forget
the end tag:
<p>This is a paragraph
<p>This is a paragraph
The example above works in most browsers, because the closing
tag is considered optional.
Never rely on this. Many HTML elements will produce unexpected
results and/or errors if you forget the end tag .
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ELEMENTS
Empty HTML Elements
HTML elements with no content are called empty elements.
<br> is an empty element without a closing tag (the <br> tag
defines a line break).
Tip: In XHTML, all elements must be closed. Adding a slash inside
the start tag, like <br />, is the proper way of closing empty
elements in XHTML (and XML).
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ELEMENTS
HTML Tip: Use Lowercase Tags
HTML tags are not case sensitive: <P> means the same as <p>.
Many web sites use uppercase HTML tags.
W3Schools use lowercase tags because the World Wide Web
Consortium (W3C) recommends lowercase in HTML 4,
and demands lowercase tags in XHTML.
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ATTRIBUTES
• HTML elements can have attributes
• Attributes provide additional information about an element
• Attributes are always specified in the start tag
• Attributes come in name/value pairs like: name="value"
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ATTRIBUTES
Attribute Example
HTML links are defined with the <a> tag. The link address is
specified in the href attribute:
Example
<a href="http://www.w3schools.com">This is a link</a>
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ATTRIBUTES
Always Quote Attribute Values
Attribute values should always be enclosed in quotes.
Double style quotes are the most common, but single
style quotes are also allowed.
Tip: In some rare situations, when the attribute value
itself contains quotes, it is necessary to use single
quotes: name='John "ShotGun" Nelson'
Apep Kamaludin, MT. | http://www.w3schools.com
HTML ATTRIBUTES
HTML Tip: Use Lowercase Attributes
Attribute names and attribute values are case-
insensitive.
However, the World Wide Web Consortium (W3C)
recommends lowercase attributes/attribute values in
their HTML 4 recommendation.
Newer versions of (X)HTML will demand lowercase
attributes.
Apep Kamaludin, MT. | http://www.w3schools.com

More Related Content

PPTX
Basic Html for beginners.
PPTX
HTML (Hyper Text Markup Language)
PPTX
HTML (Hyper Text Markup Language)
PPTX
Introduction to basic HTML [Librarian edition]
PDF
PPT
HTML Intermediate
PPT
HTML Advanced
PDF
Web design in 7 days by waqar
Basic Html for beginners.
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
Introduction to basic HTML [Librarian edition]
HTML Intermediate
HTML Advanced
Web design in 7 days by waqar

What's hot (10)

PDF
Html - Tutorial
PPTX
Hyper text markup Language
PPT
Hyper Text Mark-up Language
PPTX
Basic HTML
PPT
Html basic
PDF
Html basics
PDF
Html basics
PDF
Let me design
Html - Tutorial
Hyper text markup Language
Hyper Text Mark-up Language
Basic HTML
Html basic
Html basics
Html basics
Let me design
Ad

Viewers also liked (15)

PPTX
sunu (Html-1)
PPTX
TXT
Contoh.html1
PDF
Tutorial dasar laravel
PPTX
Belajar Web HTML – Modul 4 List
PDF
Arsitektur dan Organisasi Komputer - infiniband
PPTX
Belajar Web HTML – Modul 6 Hyperlink
PPSX
Bermain main dengan linux
PPTX
CARA BELAJAR EFEKTIF
PDF
Buku pemrograman web html-css-javascript
PDF
Belajar netbeans java pemula dari 0 sampai mahir
PDF
Panduan Pemrograman Berbasis Web dengan HTML, PHP, dan Database MySQL
PPT
Core java slides
PPTX
Introduction to java
sunu (Html-1)
Contoh.html1
Tutorial dasar laravel
Belajar Web HTML – Modul 4 List
Arsitektur dan Organisasi Komputer - infiniband
Belajar Web HTML – Modul 6 Hyperlink
Bermain main dengan linux
CARA BELAJAR EFEKTIF
Buku pemrograman web html-css-javascript
Belajar netbeans java pemula dari 0 sampai mahir
Panduan Pemrograman Berbasis Web dengan HTML, PHP, dan Database MySQL
Core java slides
Introduction to java
Ad

Similar to belajar HTML 1 (20)

DOCX
Html example
DOCX
Htmlnotes 150323102005-conversion-gate01
PDF
Html notes
PDF
HTML Presentation
PDF
htmlnotes-180924151434.pdf dafdkzndsvkdvdd
PDF
htmlnotes Which tells about all the basic
DOC
Learn html from www
PDF
Html basics
PDF
Html basics
PDF
PDF
Html basics 1
PDF
Html basics
PDF
Html basics
PDF
Html basic file
PDF
HTML_Basics.pdf
PDF
Html tutorial
PDF
Html tutorial
PPT
Html presentation
Html example
Htmlnotes 150323102005-conversion-gate01
Html notes
HTML Presentation
htmlnotes-180924151434.pdf dafdkzndsvkdvdd
htmlnotes Which tells about all the basic
Learn html from www
Html basics
Html basics
Html basics 1
Html basics
Html basics
Html basic file
HTML_Basics.pdf
Html tutorial
Html tutorial
Html presentation

More from Universitas Pendidikan Indonesia (7)

PPTX
Perencanaan sumberdaya manusia
PPTX
Lm301 t05 12-4563_upaya preservasi terhadap data laptop pribadi
PPTX
PPTX
3. tipe dan fungsi kepemimpinan!
PPTX
bahaya banjir di indonesia
Perencanaan sumberdaya manusia
Lm301 t05 12-4563_upaya preservasi terhadap data laptop pribadi
3. tipe dan fungsi kepemimpinan!
bahaya banjir di indonesia

Recently uploaded (20)

PPTX
master seminar digital applications in india
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Cell Structure & Organelles in detailed.
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPTX
PPH.pptx obstetrics and gynecology in nursing
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Pharma ospi slides which help in ospi learning
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
Classroom Observation Tools for Teachers
PDF
Basic Mud Logging Guide for educational purpose
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Pre independence Education in Inndia.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
master seminar digital applications in india
human mycosis Human fungal infections are called human mycosis..pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Cell Structure & Organelles in detailed.
Pharmacology of Heart Failure /Pharmacotherapy of CHF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PPH.pptx obstetrics and gynecology in nursing
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Pharma ospi slides which help in ospi learning
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Microbial diseases, their pathogenesis and prophylaxis
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
Classroom Observation Tools for Teachers
Basic Mud Logging Guide for educational purpose
O5-L3 Freight Transport Ops (International) V1.pdf
TR - Agricultural Crops Production NC III.pdf
Pre independence Education in Inndia.pdf
Complications of Minimal Access Surgery at WLH
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student

belajar HTML 1

  • 2. WHAT IS HTML? • HTML is a language for describing web pages. • HTML stands for Hyper Text Markup Language • HTML is a markup language • A markup language is a set of markup tags • The tags describes document content • HTML documents contain HTML tags and plain text • HTML documents are also called web pages Apep Kamaludin, MT. | http://www.w3schools.com
  • 3. HTML TAGS HTML markup tags are usually called HTML tags HTML tags are keywords (tag names) surrounded by angle brackets like <html> HTML tags normally come in pairs like <b> and </b> The first tag in a pair is the start tag, the second tag is the end tag The end tag is written like the start tag, with a forward slash before the tag name Start and end tags are also called opening tags and closing tags Apep Kamaludin, MT. | http://www.w3schools.com <tagname> content </tagname>
  • 4. HTML ELEMENTS "HTML tags" and "HTML elements" are often used to describe the same thing. But strictly speaking, an HTML element is everything between the start tag and the end tag, including the tags: HTML Element: Apep Kamaludin, MT. | http://www.w3schools.com <p> This is a paragraph. </p>
  • 5. WEB BROWSERS The purpose of a web browser (Chrome, Internet Explorer, Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page: Apep Kamaludin, MT. | http://www.w3schools.com
  • 6. HTML PAGE STRUCTURE Below is a visualization of an HTML page structure: <html> <body> <h1>This a Heading</h1> <p>This is a paragraph.</p> <p>This is another paragraph.</p> </body> </html> Apep Kamaludin, MT. | http://www.w3schools.com
  • 7. HTML VERSIONS Version Year HTML 1991 HTML+ 1993 HTML 2.0 1995 HTML 3.2 1997 HTML 4.01 1999 XHTML 1.0 2000 HTML5 2012 XHTML5 2013 Apep Kamaludin, MT. | http://www.w3schools.com
  • 8. THE <!DOCTYPE> DECLARATION There are many different documents on the web, and a browser can only display an HTML page 100% correctly if it knows the HTML type and version used. The <!DOCTYPE> declaration helps the browser to display a web page correctly. Common Declarations HTML5 <!DOCTYPE html> HTML 4.01 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> XHTML 1.0 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Apep Kamaludin, MT. | http://www.w3schools.com
  • 9. HTML EDITORS Writing HTML Using Notepad or TextEdit HTML can be edited by using a professional HTML editor like: • Adobe Dreamweaver • Microsoft Expression Web • CoffeeCup HTML Editor However, for learning HTML we recommend a text editor like Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML. Apep Kamaludin, MT. | http://www.w3schools.com
  • 10. HTML EDITORS Follow the 4 steps below to create your first web page with Notepad. Step 1: Start Notepad To start Notepad go to: Start All Programs Accessories Notepad Apep Kamaludin, MT. | http://www.w3schools.com
  • 11. HTML EDITORS Step 2: Edit Your HTML with Notepad Type your HTML code into your Notepad: Apep Kamaludin, MT. | http://www.w3schools.com
  • 12. HTML EDITORS Step 3: Save Your HTML Select Save as.. in Notepad's file menu. When you save an HTML file, you can use either the .htm or the .html file extension. There is no difference, it is entirely up to you. Save the file in a folder that is easy to remember, like w3schools. Apep Kamaludin, MT. | http://www.w3schools.com
  • 13. HTML EDITORS Step 4: Run the HTML in Your Browser Start your web browser and open your html file from the File, Open menu, or just browse the folder and double-click your HTML file. The result should look much like this: Apep Kamaludin, MT. | http://www.w3schools.com
  • 14. HTML BASIC HTML Headings HTML headings are defined with the <h1> to <h6> tags. Example <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3> Apep Kamaludin, MT. | http://www.w3schools.com
  • 15. HTML BASIC HTML Paragraphs HTML paragraphs are defined with the <p> tag. Example <p>This is a paragraph.</p> <p>This is another paragraph.</p> Apep Kamaludin, MT. | http://www.w3schools.com
  • 16. HTML BASIC HTML Links HTML links are defined with the <a> tag. Example <a href="http://www.w3schools.com">This is a link</a> Note: The link address is specified in the href attribute. (You will learn about attributes in a later chapter of this tutorial). Apep Kamaludin, MT. | http://www.w3schools.com
  • 17. HTML BASIC HTML Images HTML images are defined with the <img> tag. Example <img src="w3schools.jpg" width="104" height="142"> Note: The filename and the size of the image are provided as attributes. Apep Kamaludin, MT. | http://www.w3schools.com
  • 18. HTML ELEMENTS HTML documents are defined by HTML elements. An HTML element is everything from the start tag to the end tag: * The start tag is often called the opening tag. The end tag is often called the closing tag. Apep Kamaludin, MT. | http://www.w3schools.com Start tag * Element content End tag * <p> This is a paragraph </p> <a href="default.htm"> This is a link </a> <br>
  • 19. HTML ELEMENTS HTML Element Syntax An HTML element starts with a start tag / opening tag An HTML element ends with an end tag / closing tag The element content is everything between the start and the end tag Some HTML elements have empty content Empty elements are closed in the start tag Most HTML elements can have attributes Tip: You will learn about attributes in the next chapter of this tutorial. Apep Kamaludin, MT. | http://www.w3schools.com
  • 20. HTML ELEMENTS Nested HTML Elements Most HTML elements can be nested (can contain other HTML elements). HTML documents consist of nested HTML elements. Apep Kamaludin, MT. | http://www.w3schools.com
  • 21. HTML ELEMENTS HTML Document Example <!DOCTYPE html> <html> <body> <p>This is my first paragraph.</p> </body> </html> The example above contains 3 HTML elements. Apep Kamaludin, MT. | http://www.w3schools.com
  • 22. HTML ELEMENTS Don't Forget the End Tag Some HTML elements might display correctly even if you forget the end tag: <p>This is a paragraph <p>This is a paragraph The example above works in most browsers, because the closing tag is considered optional. Never rely on this. Many HTML elements will produce unexpected results and/or errors if you forget the end tag . Apep Kamaludin, MT. | http://www.w3schools.com
  • 23. HTML ELEMENTS Empty HTML Elements HTML elements with no content are called empty elements. <br> is an empty element without a closing tag (the <br> tag defines a line break). Tip: In XHTML, all elements must be closed. Adding a slash inside the start tag, like <br />, is the proper way of closing empty elements in XHTML (and XML). Apep Kamaludin, MT. | http://www.w3schools.com
  • 24. HTML ELEMENTS HTML Tip: Use Lowercase Tags HTML tags are not case sensitive: <P> means the same as <p>. Many web sites use uppercase HTML tags. W3Schools use lowercase tags because the World Wide Web Consortium (W3C) recommends lowercase in HTML 4, and demands lowercase tags in XHTML. Apep Kamaludin, MT. | http://www.w3schools.com
  • 25. HTML ATTRIBUTES • HTML elements can have attributes • Attributes provide additional information about an element • Attributes are always specified in the start tag • Attributes come in name/value pairs like: name="value" Apep Kamaludin, MT. | http://www.w3schools.com
  • 26. HTML ATTRIBUTES Attribute Example HTML links are defined with the <a> tag. The link address is specified in the href attribute: Example <a href="http://www.w3schools.com">This is a link</a> Apep Kamaludin, MT. | http://www.w3schools.com
  • 27. HTML ATTRIBUTES Always Quote Attribute Values Attribute values should always be enclosed in quotes. Double style quotes are the most common, but single style quotes are also allowed. Tip: In some rare situations, when the attribute value itself contains quotes, it is necessary to use single quotes: name='John "ShotGun" Nelson' Apep Kamaludin, MT. | http://www.w3schools.com
  • 28. HTML ATTRIBUTES HTML Tip: Use Lowercase Attributes Attribute names and attribute values are case- insensitive. However, the World Wide Web Consortium (W3C) recommends lowercase attributes/attribute values in their HTML 4 recommendation. Newer versions of (X)HTML will demand lowercase attributes. Apep Kamaludin, MT. | http://www.w3schools.com