SlideShare a Scribd company logo

LAB#2 Overview of HTML and HTML5
322432 Web design technology
By Yaowaluck Promdee, Dr.Sumonta Keamvilas
1
INDEX
 Overview of Web design technology
 Introduction of HTML
 HTML5
 Assignment
2
Overview ofWeb DesignTechnology
What is web design?
• The design principles: balance, contrast,
emphasis and unity
and
• The design elements: lines, shapes, texture,
color and direction
3
Overview ofWeb DesignTechnology
Step for Web Design
1 2 3 4
Plan Design Develop Deploy
Research
Observe
Understand
Analyze
Use Cases
Wireframes
Design
Concepts
Communicate
Visual design
Coding
Usability
Testing
Verification
4
Introduction to HTML
 HTML stands for HyperText Markup Language
 HTML is a markup language that is a set of markup tags
 HTML documents are also called web pages
 Start and end tags are also called opening tags and closing tags
5
HTML Page Structure
Below is a visualization of an HTML page structure:
6
HTML Links
A hyperlink (or link) is a word, group of words, or image that you can click on to jump to
another document.
HTML Link Syntax
<a href=“url”>Link text</a>
Example Link to Google
<a href=“http://www.google.com/”>Google</a>
If new tab use Google
<a href=http://www.google.com/ target=“_blank”>Google</a>
Link id Attribute
< a id=“link”> Test link</a>
Inside the same document:
<a href="#link">Go to link</a>
7
Table
HTML table:
Tables are defined with the <table> tag.
A table is divided into rows with the <tr> tag. (tr stands for table row)
A row is divided into data cells with the <td> tag. (td stands for table data)
A row can also be divided into headings with the <th> tag. (th stands for table heading)
Example:
<table style="width:400px" border="1">
<tr>
<td>1</td>
<td>2</td>
</tr>
<tr>
<td>3</td>
<td>4</td>
</tr>
</table>
1 2
3 4
8
Table
Try it!
How is HTML code above will produce the following result?
Subject Name Room
322432 Web design 6601
322793 Research Methodology 8504
9
HTML Blocks
HTML Block Elements
Examples: <h1>, <p>, <ul>, <table>
HTML Inline Elements
Examples: <b>, <td>, <a>, <img>
HTML Grouping Tags
<div> : block-level
<span> : inline
Example
div: This is<div style=“color:blue”>blue</div>color
Span: This is<span style=“color:blue”>blue</span>color
This is
Blue
color
This is blue color
10
Example HTML Layout
 <!DOCTYPE html>
<html>
<body>
<div id="container" style="width:500px">
<div id="header" style="background-color:#FFA500;">
<h1 style="margin-bottom:0;">Main Title of Web Page</h1></div>
<div id="menu" style="background-color:#FFD700;height:200px;width:100px;float:left;">
<b>Menu</b><br>
HTML<br>
CSS<br>
JavaScript</div>
<div id="content" style="background-color:#EEEEEE;height:200px;width:400px;float:left;">
Content goes here</div>
<div id="footer" style="background-color:#FFA500;clear:both;text-align:center;">
Copyright © W3Schools.com</div>
</div>
</body>
</html>
11
12

DeprecatedTags
The following elements are not available in HTML5 anymore and their function is better handled
by CSS:
http://www.tutorialspoint.com/html5/html5_deprecated_tags.htm
13

Deprecated Attributes
HTML5 has none of the presentational attributes that were in HTML4 as their functions are better handled by CSS. Some attributes
from HTML4 are no longer allowed in HTML5 at all and they have been removed completely.
http://www.tutorialspoint.com/html5/html5_deprecated_tags.htm
14
Deprecated Attributes (cont.)
http://www.tutorialspoint.com/html5/html5_deprecated_tags.htm
15

HTML5 NewTags (Elements)
The following tags (elements) have been introduced in HTML5:
http://www.tutorialspoint.com/html5/html5_new_tags.htm
16

HTML5 NewTags (Elements) (cont.)
http://www.tutorialspoint.com/html5/html5_new_tags.htm
17

New types for <input> tag
The input element's type attribute now has the following new values:
http://www.tutorialspoint.com/html5/html5_new_tags.htm
18

New Features in HTML5
HTML5 introduces a number of new elements and attributes that helps in building a modern
websites. Following are great features introduced in HTML5.
Forms 2.0: Improvements to HTML web forms where new attributes have been introduced for
<input> tag.
Persistent Local Storage: To achieve without resorting to third-party plugins.
WebSocket : A a next-generation bidirectional communication technology for web applications.
Server-Sent Events: HTML5 introduces events which flow from web server to the web browsers
and they are called Server-Sent Events (SSE).
Canvas: This supports a two-dimensional drawing surface that you can program with JavaScript.
Audio & Video: You can embed audio or video on your web pages without resorting to third-
party plugins.
Geolocation: Now visitors can choose to share their physical location with your web application.
Microdata: This lets you create your own vocabularies beyond HTML5 and extend your web
pages with custom semantics.
Drag and drop: Drag and drop the items from one location to another location on a the same
webpage.
http://www.tutorialspoint.com/html5/html5_quick_guide.htm
19
HTML5 Document
Tag Description
<article> Defines an article in the document, such as a blog entry or newspaper article.
<aside> Defines a piece of content that is only slightly related to the rest of the page
<details> Defines additional details that the user can view or hide
<dialog> Defines a dialog box or window and can be used to mark up a conversation
<figcaption> Defines a caption for a <figure> element
<figure> Defines self-contained content, like illustrations, diagrams, photos, code
listings, video, etc.
<footer> Defines a footer for the document or a section
<header> Defines a header for the document or a section
<main> Defines the main content of a document
<section> Defines a generic document or application section. It can be used together
with h1-h6 to indicate the document structure
<nav> Defines a section of the document intended for navigation
http://www.w3schools.com/
http://www.tutorialspoint.com/html5/html5_quick_guide.htm
20
Assignment Lab#2
Use Notepad to create HTML and HTML5 files to display as the figure
21

More Related Content

PPT
PPTX
PPT
PPTX
Dhtml sohaib ch
PPT
Unit 2 dhtml
PPTX
Dhtml
PPTX
13. session 13 introduction to dhtml
PPTX
Dhtml sohaib ch
Unit 2 dhtml
Dhtml
13. session 13 introduction to dhtml

What's hot (20)

PPTX
Dynamic HTML (DHTML)
PPTX
HTML5 & CSS3
PPTX
Html5 and-css3-overview
PPT
DHTML - Dynamic HTML
PPTX
Web Design L1 - Untagling the Web
PDF
7.1 html lec 7
PDF
HTML5 New Features and Resources
PPTX
Grade 10 COMPUTER
PPT
Introdution to HTML 5
PPTX
Html5 Basic Structure
PPTX
HTML/HTML5
PPTX
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
PPT
Decoding the Web
PPT
Brief on Html5
PPTX
HTML (Hyper Text Markup Language)
PPSX
HTML & XHTML Basics
PPTX
Html5 101
PPTX
Css presentation lecture 1
Dynamic HTML (DHTML)
HTML5 & CSS3
Html5 and-css3-overview
DHTML - Dynamic HTML
Web Design L1 - Untagling the Web
7.1 html lec 7
HTML5 New Features and Resources
Grade 10 COMPUTER
Introdution to HTML 5
Html5 Basic Structure
HTML/HTML5
DYNAMIC HYPERTEXT MARKUP LANGUAGE (DHTML) & CSS WITH Application of JavaScript
Decoding the Web
Brief on Html5
HTML (Hyper Text Markup Language)
HTML & XHTML Basics
Html5 101
Css presentation lecture 1
Ad

Similar to Lab#2 overview of html (20)

PPTX
Web development it slideWeb development it slidemy web development slide-...
PPTX
Front end full stack development module 1pptx
PPT
Introduction css
PPT
Introduction css
PPTX
Introduction to HTML5
PPTX
HTML by Telerik Akademy
PPTX
How to Create a College Website Page Using HTML
PPT
PPTX
Introduction to Hypertext markup language
PPTX
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
PDF
Html5 deciphered - designing concepts part 1
PPTX
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
PDF
Web Dev - 1 PPT.pdf
PDF
Email dssign rules
PPTX
juststartpdfisntofdsjjslfjslfslflsdf.pptx
PPTX
Designing SharePoint 2010 for Business
PPTX
Overview HTML, HTML5 and Validations
PPTX
workshopsisnotreallyrrwardingitsinot.pptx
Web development it slideWeb development it slidemy web development slide-...
Front end full stack development module 1pptx
Introduction css
Introduction css
Introduction to HTML5
HTML by Telerik Akademy
How to Create a College Website Page Using HTML
Introduction to Hypertext markup language
Lecture 2 HTML part 1.pptxLecture 10 CSS part 2.pptxvvvvvvvvvvvvvv
Html5 deciphered - designing concepts part 1
Web Development Course - HTML5 & CSS3 by RSOLUTIONS
Web Dev - 1 PPT.pdf
Email dssign rules
juststartpdfisntofdsjjslfjslfslflsdf.pptx
Designing SharePoint 2010 for Business
Overview HTML, HTML5 and Validations
workshopsisnotreallyrrwardingitsinot.pptx
Ad

More from Yaowaluck Promdee (20)

PDF
A basic of UX for beginner
PDF
PDF
Portfolio design
PDF
Concept to creation story and storyboard
PPTX
Observation and interviewing
PPTX
Requirement gathering-and-lean-canvas
PDF
Good bad design
PPTX
Bootstrap Framework
PDF
Tables and forms with HTML, CSS
PDF
Navigation and Link
PDF
Graphic, Color and tools
PPTX
Page layouts flexible and fixed layout with CSS
PDF
CSS Boc model
PDF
CSS Font & Text style
PDF
Style and Selector Part2
PDF
Style and Selector
PPTX
Design sitemap
PPTX
Good/Bad Web Design
PPTX
Web Interface
A basic of UX for beginner
Portfolio design
Concept to creation story and storyboard
Observation and interviewing
Requirement gathering-and-lean-canvas
Good bad design
Bootstrap Framework
Tables and forms with HTML, CSS
Navigation and Link
Graphic, Color and tools
Page layouts flexible and fixed layout with CSS
CSS Boc model
CSS Font & Text style
Style and Selector Part2
Style and Selector
Design sitemap
Good/Bad Web Design
Web Interface

Recently uploaded (20)

PPTX
How to Manage Bill Control Policy in Odoo 18
PDF
Insiders guide to clinical Medicine.pdf
PDF
Open folder Downloads.pdf yes yes ges yes
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
Landforms and landscapes data surprise preview
PPTX
Open Quiz Monsoon Mind Game Final Set.pptx
PPTX
Open Quiz Monsoon Mind Game Prelims.pptx
PPTX
Congenital Hypothyroidism pptx
PDF
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
PDF
What Is Coercive Control? Understanding and Recognizing Hidden Abuse
PDF
Module 3: Health Systems Tutorial Slides S2 2025
PPTX
How to Manage Loyalty Points in Odoo 18 Sales
PDF
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
PPTX
Introduction and Scope of Bichemistry.pptx
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Cell Biology Basics: Cell Theory, Structure, Types, and Organelles | BS Level...
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 Đ...
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Software Engineering BSC DS UNIT 1 .pptx
How to Manage Bill Control Policy in Odoo 18
Insiders guide to clinical Medicine.pdf
Open folder Downloads.pdf yes yes ges yes
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Landforms and landscapes data surprise preview
Open Quiz Monsoon Mind Game Final Set.pptx
Open Quiz Monsoon Mind Game Prelims.pptx
Congenital Hypothyroidism pptx
Electrolyte Disturbances and Fluid Management A clinical and physiological ap...
What Is Coercive Control? Understanding and Recognizing Hidden Abuse
Module 3: Health Systems Tutorial Slides S2 2025
How to Manage Loyalty Points in Odoo 18 Sales
Piense y hagase Rico - Napoleon Hill Ccesa007.pdf
Introduction and Scope of Bichemistry.pptx
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Cell Biology Basics: Cell Theory, Structure, Types, and Organelles | BS Level...
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Software Engineering BSC DS UNIT 1 .pptx

Lab#2 overview of html

  • 1.  LAB#2 Overview of HTML and HTML5 322432 Web design technology By Yaowaluck Promdee, Dr.Sumonta Keamvilas 1
  • 2. INDEX  Overview of Web design technology  Introduction of HTML  HTML5  Assignment 2
  • 3. Overview ofWeb DesignTechnology What is web design? • The design principles: balance, contrast, emphasis and unity and • The design elements: lines, shapes, texture, color and direction 3
  • 4. Overview ofWeb DesignTechnology Step for Web Design 1 2 3 4 Plan Design Develop Deploy Research Observe Understand Analyze Use Cases Wireframes Design Concepts Communicate Visual design Coding Usability Testing Verification 4
  • 5. Introduction to HTML  HTML stands for HyperText Markup Language  HTML is a markup language that is a set of markup tags  HTML documents are also called web pages  Start and end tags are also called opening tags and closing tags 5
  • 6. HTML Page Structure Below is a visualization of an HTML page structure: 6
  • 7. HTML Links A hyperlink (or link) is a word, group of words, or image that you can click on to jump to another document. HTML Link Syntax <a href=“url”>Link text</a> Example Link to Google <a href=“http://www.google.com/”>Google</a> If new tab use Google <a href=http://www.google.com/ target=“_blank”>Google</a> Link id Attribute < a id=“link”> Test link</a> Inside the same document: <a href="#link">Go to link</a> 7
  • 8. Table HTML table: Tables are defined with the <table> tag. A table is divided into rows with the <tr> tag. (tr stands for table row) A row is divided into data cells with the <td> tag. (td stands for table data) A row can also be divided into headings with the <th> tag. (th stands for table heading) Example: <table style="width:400px" border="1"> <tr> <td>1</td> <td>2</td> </tr> <tr> <td>3</td> <td>4</td> </tr> </table> 1 2 3 4 8
  • 9. Table Try it! How is HTML code above will produce the following result? Subject Name Room 322432 Web design 6601 322793 Research Methodology 8504 9
  • 10. HTML Blocks HTML Block Elements Examples: <h1>, <p>, <ul>, <table> HTML Inline Elements Examples: <b>, <td>, <a>, <img> HTML Grouping Tags <div> : block-level <span> : inline Example div: This is<div style=“color:blue”>blue</div>color Span: This is<span style=“color:blue”>blue</span>color This is Blue color This is blue color 10
  • 11. Example HTML Layout  <!DOCTYPE html> <html> <body> <div id="container" style="width:500px"> <div id="header" style="background-color:#FFA500;"> <h1 style="margin-bottom:0;">Main Title of Web Page</h1></div> <div id="menu" style="background-color:#FFD700;height:200px;width:100px;float:left;"> <b>Menu</b><br> HTML<br> CSS<br> JavaScript</div> <div id="content" style="background-color:#EEEEEE;height:200px;width:400px;float:left;"> Content goes here</div> <div id="footer" style="background-color:#FFA500;clear:both;text-align:center;"> Copyright © W3Schools.com</div> </div> </body> </html> 11
  • 12. 12
  • 13.  DeprecatedTags The following elements are not available in HTML5 anymore and their function is better handled by CSS: http://www.tutorialspoint.com/html5/html5_deprecated_tags.htm 13
  • 14.  Deprecated Attributes HTML5 has none of the presentational attributes that were in HTML4 as their functions are better handled by CSS. Some attributes from HTML4 are no longer allowed in HTML5 at all and they have been removed completely. http://www.tutorialspoint.com/html5/html5_deprecated_tags.htm 14
  • 16.  HTML5 NewTags (Elements) The following tags (elements) have been introduced in HTML5: http://www.tutorialspoint.com/html5/html5_new_tags.htm 16
  • 17.  HTML5 NewTags (Elements) (cont.) http://www.tutorialspoint.com/html5/html5_new_tags.htm 17
  • 18.  New types for <input> tag The input element's type attribute now has the following new values: http://www.tutorialspoint.com/html5/html5_new_tags.htm 18
  • 19.  New Features in HTML5 HTML5 introduces a number of new elements and attributes that helps in building a modern websites. Following are great features introduced in HTML5. Forms 2.0: Improvements to HTML web forms where new attributes have been introduced for <input> tag. Persistent Local Storage: To achieve without resorting to third-party plugins. WebSocket : A a next-generation bidirectional communication technology for web applications. Server-Sent Events: HTML5 introduces events which flow from web server to the web browsers and they are called Server-Sent Events (SSE). Canvas: This supports a two-dimensional drawing surface that you can program with JavaScript. Audio & Video: You can embed audio or video on your web pages without resorting to third- party plugins. Geolocation: Now visitors can choose to share their physical location with your web application. Microdata: This lets you create your own vocabularies beyond HTML5 and extend your web pages with custom semantics. Drag and drop: Drag and drop the items from one location to another location on a the same webpage. http://www.tutorialspoint.com/html5/html5_quick_guide.htm 19
  • 20. HTML5 Document Tag Description <article> Defines an article in the document, such as a blog entry or newspaper article. <aside> Defines a piece of content that is only slightly related to the rest of the page <details> Defines additional details that the user can view or hide <dialog> Defines a dialog box or window and can be used to mark up a conversation <figcaption> Defines a caption for a <figure> element <figure> Defines self-contained content, like illustrations, diagrams, photos, code listings, video, etc. <footer> Defines a footer for the document or a section <header> Defines a header for the document or a section <main> Defines the main content of a document <section> Defines a generic document or application section. It can be used together with h1-h6 to indicate the document structure <nav> Defines a section of the document intended for navigation http://www.w3schools.com/ http://www.tutorialspoint.com/html5/html5_quick_guide.htm 20
  • 21. Assignment Lab#2 Use Notepad to create HTML and HTML5 files to display as the figure 21