SlideShare ist ein Scribd-Unternehmen logo
1 von 26
Web Development:
{ Understanding the Web Page Layout
in HTML5}
Presented by:
Mr. Jhaun Paul G. Enriquez
SHS Faculty
HTML Elements
Web Development: Using HTML5 & CSS3 2
• are marked up using start tags and end tags
• delimited using angle brackets with a tag
name in between
• HTML5 tag names are case-insensitive
• Tags can either be a container tag or an
empty tag
Opening Tag Closing Tag
<tagname> content </tagname>
angle brackets
HTML Attributes
Web Development: Using HTML5 & CSS3 3
• used to define the characteristics of an HTML
element and placed inside the element's
opening tag
• all attributes have a name and a value
Name
Value
<a href="index.html"> Click Link</a>
property you
want to set
the value of the property to be
set and within double quotes
Note: Attribute names and values are case-insensitive
HTML Core Attributes
Web Development: Using HTML5 & CSS3 4
id class
title style
• used to uniquely
identify any element
• <h1 id="header">
• associate an element
with a style sheet
• <p class="section">
• suggested title for the
element
• often displayed as a
tooltip
• <abbr title="Hello">
• specify Cascading Style
Sheet (CSS) rules within an
element
• <p style="color:#bbccff;">
HTML Internationalization Attributes
Web Development: Using HTML5 & CSS3 5
dir attribute
• indicate to the browser about the direction in which
the text should flow
Value Meaning
ltr - Left to right (default value)
rtl - Right to left (for Hebrew and Arabic)
CODE
OUTPUT
HTML Internationalization Attributes
Web Development: Using HTML5 & CSS3 6
lang attribute
• indicate the main language used in a document
• kept in HTML only for backwards compatibility with
earlier versions of HTML
CODE
OUTPUT
HTML Internationalization Attributes
Web Development: Using HTML5 & CSS3 7
xml:lang attribute
• XHTML replacement for the lang attribute
CODE
OUTPUT
Deprecated Attributes
Web Development: Using HTML5 & CSS3 8
• alink
• link
• vlink
• border
• height
• width
• clear
• hspace
• vspace
• align
• nowrap
• text
• background
• bgcolor
• start
• type
• language
HTML Formatting Tags
Web Development: Using HTML5 & CSS3 9
• Bold – <b> … </b>
• Italic – <i> … </i>
• Superscript – <sup> … </sup>
• Subscript – <sub> … </sub>
• Insert – <ins> … </ins>
• Delete – <del> … </del>
• Big* – <big> … </big>
• Small – <small> … </small>
• Underline* – <u> … </u>
• Strike* – <strike> … </strike>
• Monospaced*
– <tt> … </tt>
Note:
Tags with
asterisk (*) are
deprecated
HTML Phrase Tags
Web Development: Using HTML5 & CSS3 10
• Emphasize – <em> … </em>
• Strong – <strong> … </strong>
• Abbreviation – <abbr> … </abbr>
• Acronym* – <acronym> … </acronym>
• Blockquote – <blockquote> … </blockquote>
• Short quotations – <q> … </q>
• Address – <address> … </address>
Note: Tags with asterisk (*) are deprecated
HTML Phrase Tags
Web Development: Using HTML5 & CSS3 11
• Text Citation – <cite> … </cite> == in italics
• Marked – <mark> … </mark> == with yellow mark
• Bi-Directional Override – <bdo> … </bdo>
• Definition – <dfn> … </dfn> == in italics
• Computer Code – <code> … </code> == in monospace
• Keyboard Text – <kbd> … </kbd>
• Programming Variables – <var> … </var> == in italics
• Program Output – <samp> … </samp>
1. What is used to define the characteristics of
element?
2. Where should the element attribute be place?
3. What are the two parts of an attribute?
4. What are the four core attributes used in HTML?
5. Which XHTML attribute was replaced by the
lang attribute in HTML5?
6. In displaying the content by a web browser, what
is the default direction of the text on a web page?
Quick Learning Check:
Web Page Layout Elements
Web Development: Using HTML5 & CSS3 13
• clearly describes its meaning to both the browser
and the developer
Source: http://www.w3schools.com/html/html_layout.asp
• define the
different parts of
a web page
• create a
structured layout
for web pages
SEMANTIC MARKUPS
Web Page Layout Elements
Web Development: Using HTML5 & CSS3 14
Source: http://www.w3schools.com/html/html_layout.asp
Non-semantic Semantic
<div id="header">
<div
id="sid
ebar">
<div
class="section">
<div id="footer">
<header>
<aside> <section>
<footer>
Web Page Layout Elements
Web Development: Using HTML5 & CSS3 15
Source: http://www.developer.com/lang/understanding-the-proper-way-to-lay-out-a-page-with-html5.html
Web Page Layout Elements
Web Development: Using HTML5 & CSS3 16
Defining the Page Structure
Web Development: Using HTML5 & CSS3 17
Why use Semantics?
– accessibility - help assistive technologies read
and interpret your webpage
– searchability - help computers make sense of
your content
– internationalization - only 13% of the world are
English native speakers
– interoperability - help other programmers
understand the structure of your webpage
Source: https://codepen.io/mi-lee/post/an-overview-of-html5-semantics
Defining the Page Structure
Web Development: Using HTML5 & CSS3 18
Source: https://www.harding.edu/fmccown/classes/comp250-f15/notes/images/acu_screenshot_markup.png
Defining the Page Structure
Web Development: Using HTML5 & CSS3 19
The <header> Element
– specifies a header for a document or section
– should be used as a container for introductory content
– several <header> elements in one document are
allowed
SAMPLE CODE
Defining the Page Structure
Web Development: Using HTML5 & CSS3 20
• The <nav> Element
– specifies a navigation menus or links for a document
– contain links to the other pages from the website or
to other parts of the same web page
– not for minor set of hyperlinks
SAMPLE CODE
Defining the Page Structure
Web Development: Using HTML5 & CSS3 21
• The <section> Element
– a generic section of a document or application
– a thematic grouping of content, typically with a
heading (from W3C HTML5 Documentation)
– appropriate only if the contents would be listed
explicitly in the document's outline
SAMPLE CODE
Defining the Page Structure
Web Development: Using HTML5 & CSS3 22
• The <article> Element
– specifies independent, self-contained content
– can be used for a forum post, blog post or comment
– use <section> and <article> together or use nested
<article> elements
SAMPLE CODE
Defining the Page Structure
Web Development: Using HTML5 & CSS3 23
• The <aside> Element
– piece of content that is only slightly related to the
rest of the page
– used for extra information, related links and
contextual advertisements
SAMPLE CODE
Defining the Page Structure
Web Development: Using HTML5 & CSS3 24
• The <footer> Element
– specifies a footer for a document or section
– should contain information about its containing
element
– typically contains the author of the document,
copyright information, links to terms of use, contact
information, etc.
SAMPLE CODE
Defining the Page Structure
Web Development: Using HTML5 & CSS3 25
<header>
<nav>
<section>
<article>
<aside>
<footer>
1. What HTML elements convey their meaning &
purpose clearly to the developer & to the browser?
2. Can you give a non-semantic markup?
3. Why should we use semantic markups?
4. What semantic markup represents a thematic
grouping of content, typically with a heading?
5. Which markup should be used for piece of
content that is only slightly related to the rest of
the page?
Quick Learning Check:

Weitere ähnliche Inhalte

Was ist angesagt?

presentation in html,css,javascript
presentation in html,css,javascriptpresentation in html,css,javascript
presentation in html,css,javascriptFaysalAhammed5
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overviewJacob Nelson
 
Cascading style sheet
Cascading style sheetCascading style sheet
Cascading style sheetMichael Jhon
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSSAmit Tyagi
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to htmlpalhaftab
 
Html links
Html linksHtml links
Html linksJayjZens
 
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Formstina1357
 
HTML5 & CSS3
HTML5 & CSS3 HTML5 & CSS3
HTML5 & CSS3 Ian Lintner
 
Html basics
Html basicsHtml basics
Html basicsmcatahir947
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLOlivia Moran
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptFahim Abdullah
 

Was ist angesagt? (20)

Html
HtmlHtml
Html
 
presentation in html,css,javascript
presentation in html,css,javascriptpresentation in html,css,javascript
presentation in html,css,javascript
 
Html5 and-css3-overview
Html5 and-css3-overviewHtml5 and-css3-overview
Html5 and-css3-overview
 
Cascading style sheet
Cascading style sheetCascading style sheet
Cascading style sheet
 
Html5 Basic Structure
Html5 Basic StructureHtml5 Basic Structure
Html5 Basic Structure
 
CSS
CSSCSS
CSS
 
Introduction to CSS
Introduction to CSSIntroduction to CSS
Introduction to CSS
 
Lecture 2 introduction to html
Lecture 2  introduction to htmlLecture 2  introduction to html
Lecture 2 introduction to html
 
Html links
Html linksHtml links
Html links
 
Html coding
Html codingHtml coding
Html coding
 
HTML5 - Forms
HTML5 - FormsHTML5 - Forms
HTML5 - Forms
 
Css position
Css positionCss position
Css position
 
Html form tag
Html form tagHtml form tag
Html form tag
 
HTML5 & CSS3
HTML5 & CSS3 HTML5 & CSS3
HTML5 & CSS3
 
Html ppt
Html pptHtml ppt
Html ppt
 
Html basics
Html basicsHtml basics
Html basics
 
Html
HtmlHtml
Html
 
Lesson 1: Introduction to HTML
Lesson 1: Introduction to HTMLLesson 1: Introduction to HTML
Lesson 1: Introduction to HTML
 
CSS
CSSCSS
CSS
 
An Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java ScriptAn Overview of HTML, CSS & Java Script
An Overview of HTML, CSS & Java Script
 

Ähnlich wie Understanding the Web Page Layout

SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.pptssuser568d77
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2mmvidanes29
 
Introduction to html course digital markerters
Introduction to html course digital markertersIntroduction to html course digital markerters
Introduction to html course digital markertersSEO SKills
 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTMLMarlon Jamera
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptxmalrad1
 
Web component driven development
Web component driven developmentWeb component driven development
Web component driven developmentGil Fink
 
Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Thinkful
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptxStefan Oprea
 
Html and html5 cheat sheets
Html and html5 cheat sheetsHtml and html5 cheat sheets
Html and html5 cheat sheetsZafer Galip Ozberk
 
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptxDESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptxbmit1
 
Web components - An Introduction
Web components - An IntroductionWeb components - An Introduction
Web components - An Introductioncherukumilli2
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developersHernan Mammana
 
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...SPTechCon
 
Web Development basics with WordPress
Web Development basics with WordPressWeb Development basics with WordPress
Web Development basics with WordPressRashna Maharjan
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 FundamentalLanh Le
 
Code & Design your first website 4/18
Code & Design your first website 4/18Code & Design your first website 4/18
Code & Design your first website 4/18TJ Stalcup
 

Ähnlich wie Understanding the Web Page Layout (20)

Basic html structure
Basic html structureBasic html structure
Basic html structure
 
SDP_-_Module_4.ppt
SDP_-_Module_4.pptSDP_-_Module_4.ppt
SDP_-_Module_4.ppt
 
Intro to html revised2
Intro to html revised2Intro to html revised2
Intro to html revised2
 
Html5
Html5Html5
Html5
 
Introduction to html course digital markerters
Introduction to html course digital markertersIntroduction to html course digital markerters
Introduction to html course digital markerters
 
How the Web Works Using HTML
How the Web Works Using HTMLHow the Web Works Using HTML
How the Web Works Using HTML
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Web component driven development
Web component driven developmentWeb component driven development
Web component driven development
 
Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)Code &amp; design your first website (3:16)
Code &amp; design your first website (3:16)
 
Web technologies-course 02.pptx
Web technologies-course 02.pptxWeb technologies-course 02.pptx
Web technologies-course 02.pptx
 
Html and html5 cheat sheets
Html and html5 cheat sheetsHtml and html5 cheat sheets
Html and html5 cheat sheets
 
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptxDESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
DESIGN THINKING SYLLABUS MATERIAL NOTES UNIT 1 .pptx
 
Lab_Ex1.pptx
Lab_Ex1.pptxLab_Ex1.pptx
Lab_Ex1.pptx
 
Web components - An Introduction
Web components - An IntroductionWeb components - An Introduction
Web components - An Introduction
 
Frontend for developers
Frontend for developersFrontend for developers
Frontend for developers
 
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
Popping the Hood: How to Create Custom SharePoint Branding by Randy Drisgill ...
 
Web Development basics with WordPress
Web Development basics with WordPressWeb Development basics with WordPress
Web Development basics with WordPress
 
HTML 5 Fundamental
HTML 5 FundamentalHTML 5 Fundamental
HTML 5 Fundamental
 
Code & Design your first website 4/18
Code & Design your first website 4/18Code & Design your first website 4/18
Code & Design your first website 4/18
 
Html,CSS & UI/UX design
Html,CSS & UI/UX designHtml,CSS & UI/UX design
Html,CSS & UI/UX design
 

KĂźrzlich hochgeladen

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 

KĂźrzlich hochgeladen (20)

Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Understanding the Web Page Layout

  • 1. Web Development: { Understanding the Web Page Layout in HTML5} Presented by: Mr. Jhaun Paul G. Enriquez SHS Faculty
  • 2. HTML Elements Web Development: Using HTML5 & CSS3 2 • are marked up using start tags and end tags • delimited using angle brackets with a tag name in between • HTML5 tag names are case-insensitive • Tags can either be a container tag or an empty tag Opening Tag Closing Tag <tagname> content </tagname> angle brackets
  • 3. HTML Attributes Web Development: Using HTML5 & CSS3 3 • used to define the characteristics of an HTML element and placed inside the element's opening tag • all attributes have a name and a value Name Value <a href="index.html"> Click Link</a> property you want to set the value of the property to be set and within double quotes Note: Attribute names and values are case-insensitive
  • 4. HTML Core Attributes Web Development: Using HTML5 & CSS3 4 id class title style • used to uniquely identify any element • <h1 id="header"> • associate an element with a style sheet • <p class="section"> • suggested title for the element • often displayed as a tooltip • <abbr title="Hello"> • specify Cascading Style Sheet (CSS) rules within an element • <p style="color:#bbccff;">
  • 5. HTML Internationalization Attributes Web Development: Using HTML5 & CSS3 5 dir attribute • indicate to the browser about the direction in which the text should flow Value Meaning ltr - Left to right (default value) rtl - Right to left (for Hebrew and Arabic) CODE OUTPUT
  • 6. HTML Internationalization Attributes Web Development: Using HTML5 & CSS3 6 lang attribute • indicate the main language used in a document • kept in HTML only for backwards compatibility with earlier versions of HTML CODE OUTPUT
  • 7. HTML Internationalization Attributes Web Development: Using HTML5 & CSS3 7 xml:lang attribute • XHTML replacement for the lang attribute CODE OUTPUT
  • 8. Deprecated Attributes Web Development: Using HTML5 & CSS3 8 • alink • link • vlink • border • height • width • clear • hspace • vspace • align • nowrap • text • background • bgcolor • start • type • language
  • 9. HTML Formatting Tags Web Development: Using HTML5 & CSS3 9 • Bold – <b> … </b> • Italic – <i> … </i> • Superscript – <sup> … </sup> • Subscript – <sub> … </sub> • Insert – <ins> … </ins> • Delete – <del> … </del> • Big* – <big> … </big> • Small – <small> … </small> • Underline* – <u> … </u> • Strike* – <strike> … </strike> • Monospaced* – <tt> … </tt> Note: Tags with asterisk (*) are deprecated
  • 10. HTML Phrase Tags Web Development: Using HTML5 & CSS3 10 • Emphasize – <em> … </em> • Strong – <strong> … </strong> • Abbreviation – <abbr> … </abbr> • Acronym* – <acronym> … </acronym> • Blockquote – <blockquote> … </blockquote> • Short quotations – <q> … </q> • Address – <address> … </address> Note: Tags with asterisk (*) are deprecated
  • 11. HTML Phrase Tags Web Development: Using HTML5 & CSS3 11 • Text Citation – <cite> … </cite> == in italics • Marked – <mark> … </mark> == with yellow mark • Bi-Directional Override – <bdo> … </bdo> • Definition – <dfn> … </dfn> == in italics • Computer Code – <code> … </code> == in monospace • Keyboard Text – <kbd> … </kbd> • Programming Variables – <var> … </var> == in italics • Program Output – <samp> … </samp>
  • 12. 1. What is used to define the characteristics of element? 2. Where should the element attribute be place? 3. What are the two parts of an attribute? 4. What are the four core attributes used in HTML? 5. Which XHTML attribute was replaced by the lang attribute in HTML5? 6. In displaying the content by a web browser, what is the default direction of the text on a web page? Quick Learning Check:
  • 13. Web Page Layout Elements Web Development: Using HTML5 & CSS3 13 • clearly describes its meaning to both the browser and the developer Source: http://www.w3schools.com/html/html_layout.asp • define the different parts of a web page • create a structured layout for web pages SEMANTIC MARKUPS
  • 14. Web Page Layout Elements Web Development: Using HTML5 & CSS3 14 Source: http://www.w3schools.com/html/html_layout.asp Non-semantic Semantic <div id="header"> <div id="sid ebar"> <div class="section"> <div id="footer"> <header> <aside> <section> <footer>
  • 15. Web Page Layout Elements Web Development: Using HTML5 & CSS3 15 Source: http://www.developer.com/lang/understanding-the-proper-way-to-lay-out-a-page-with-html5.html
  • 16. Web Page Layout Elements Web Development: Using HTML5 & CSS3 16
  • 17. Defining the Page Structure Web Development: Using HTML5 & CSS3 17 Why use Semantics? – accessibility - help assistive technologies read and interpret your webpage – searchability - help computers make sense of your content – internationalization - only 13% of the world are English native speakers – interoperability - help other programmers understand the structure of your webpage Source: https://codepen.io/mi-lee/post/an-overview-of-html5-semantics
  • 18. Defining the Page Structure Web Development: Using HTML5 & CSS3 18 Source: https://www.harding.edu/fmccown/classes/comp250-f15/notes/images/acu_screenshot_markup.png
  • 19. Defining the Page Structure Web Development: Using HTML5 & CSS3 19 The <header> Element – specifies a header for a document or section – should be used as a container for introductory content – several <header> elements in one document are allowed SAMPLE CODE
  • 20. Defining the Page Structure Web Development: Using HTML5 & CSS3 20 • The <nav> Element – specifies a navigation menus or links for a document – contain links to the other pages from the website or to other parts of the same web page – not for minor set of hyperlinks SAMPLE CODE
  • 21. Defining the Page Structure Web Development: Using HTML5 & CSS3 21 • The <section> Element – a generic section of a document or application – a thematic grouping of content, typically with a heading (from W3C HTML5 Documentation) – appropriate only if the contents would be listed explicitly in the document's outline SAMPLE CODE
  • 22. Defining the Page Structure Web Development: Using HTML5 & CSS3 22 • The <article> Element – specifies independent, self-contained content – can be used for a forum post, blog post or comment – use <section> and <article> together or use nested <article> elements SAMPLE CODE
  • 23. Defining the Page Structure Web Development: Using HTML5 & CSS3 23 • The <aside> Element – piece of content that is only slightly related to the rest of the page – used for extra information, related links and contextual advertisements SAMPLE CODE
  • 24. Defining the Page Structure Web Development: Using HTML5 & CSS3 24 • The <footer> Element – specifies a footer for a document or section – should contain information about its containing element – typically contains the author of the document, copyright information, links to terms of use, contact information, etc. SAMPLE CODE
  • 25. Defining the Page Structure Web Development: Using HTML5 & CSS3 25 <header> <nav> <section> <article> <aside> <footer>
  • 26. 1. What HTML elements convey their meaning & purpose clearly to the developer & to the browser? 2. Can you give a non-semantic markup? 3. Why should we use semantic markups? 4. What semantic markup represents a thematic grouping of content, typically with a heading? 5. Which markup should be used for piece of content that is only slightly related to the rest of the page? Quick Learning Check:

Hinweis der Redaktion

  1. Tooltip – text that appears when the cursor hovers on the element or while the element is loading
  2. There are three internationalization attributes, which are available for most (although not all) XHTML elements.
  3. There are three internationalization attributes, which are available for most (although not all) XHTML elements.
  4. There are three internationalization attributes, which are available for most (although not all) XHTML elements.
  5. Deprecated - a deprecated language entity is one that is tolerated or supported but not recommended. For example, a number of elements and attributes are deprecated in HTML 4.0 , meaning that other means of accomplishing the task are preferred.
  6. A web page being rendered in the browser consists of many things - logo, informative text, pictures, hyperlinks, navigational structure and more.  Semantic Markup because they convey their meaning and purpose clearly to the developer and to the browser.
  7. A web page being rendered in the browser consists of many things - logo, informative text, pictures, hyperlinks, navigational structure and more.  Semantic Markup because they convey their meaning and purpose clearly to the developer and to the browser.
  8. Currently there are no rigid and precise rules dictating their nesting. Whenever you use them together try to ensure that the resultant structure meets the intended purpose of the respective element as given in the W3C specifications. 
  9. Think of it as a sidebar that gives some extra, related yet standalone information about the topic being discussed. Some examples of <aside> include - extra information, related links and contextual advertisements. 
  10. Currently there are no rigid and precise rules dictating their nesting. Whenever you use them together try to ensure that the resultant structure meets the intended purpose of the respective element as given in the W3C specifications. 
  11. (1) Semantic markup, (2) <div> and <span>, (3) accessibility, searchability, internationalization and interoperability (4) <section>, and (5) <aside>