SlideShare une entreprise Scribd logo
1  sur  30
HTML5 AND CSS
                 <Aside>




Explaining the “Aside” function in HTML5
and how to use Cascading Style Sheets(CSS)
             to style HTML5
PURPOSE

To explain the “Aside” function in HTML5 for the everyday person. To demonstrate
 how Cascading style sheets (CSS) can be used to manipulate code within HTML5.
To show how to style code so that it adheres to the web accessibility standards required
                                  for modern day use
WHAT IS HTML5 ?
HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext
Application Technology Working Group (WHATWG).
WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In
2006, they decided to cooperate and create a new version of HTML.
Some rules for HTML5 were established:
New features should be based on HTML, CSS, DOM, and JavaScript
Reduce the need for external plugins (like Flash)
Better error handling
More markup to replace scripting
HTML5 should be device independent
The development process should be visible to the public
WEB ACCESSIBILITY
                 STANDARDS
                          The Web Accessibility Initiative - WAI
WAI (created by W3C, in 1997) is a set of guidelines intended for web developers, authors,
 and designers- about how to make the web content accessible to people with disabilities.
  The goal of these guidelines is accessibility, but they will also help make web contents
 available to more browsers (voice browsers, cell phones, hand-held devices), and to more
users working in difficult environments (hands-free, strong light, darkness, bad sight, heavy
                                           noise).
CASCADING STYLE SHEETS
             (CSS)
              CSS defines HOW HTML elements are to be displayed.
CSS describes the visual style (appearance, layout, colour, fonts) of HTML elements.
  CSS was designed to separate document layout from document content (which
        greatly improved HTML flexibility and reduced HTML complexity).
ASIDE
   The aside element represents a section of a page that consists of content that is
   tangentially related to the content around the aside element, and which could be
considered separate from that content. Such sections are often represented as sidebars
 in printed typography. Just because some content appears to the left or right of the
main content isn‟t enough reason to use the aside element. Ask yourself if the content
 within the aside can be removed without reducing the meaning of the main content.
              Pullquotes are an example of tangentially related content.
LETS LOOK AT SOME
   HTML5 CODE
OUR HTML5 PAGE
The page has the correct doctype
format for HTML 5. It contains a
Title tag, a body, an article, a
paragraph tag and an aside tag. The
<p>tag contains a paragraph about a
current craze – Gangnam Style -
taken from wikipedia.
THE ASIDE TAG
The aside tag lives within the article
tag. The content of the tag is not
essential information about the craze,
but is interesting enough to note a
mention. Information that appears
within this tag is not meant to be vital
information regarding a topic.
LETS LOOK AT OUR CSS
        PAGE
GANGNAM CSS
Currently empty. This is the page that
will create style within the page.
LETS LOOK AT OUR HTML
        PAGE
GANGNAM HTML
This is how our page looks like
without any CSS to style it. You
cannot tell the difference between the
text inside the article tag and inside
the aside tag
LETS ADD SOME CODE TO
     OUR CSS PAGE
GANGNAM CSS
We have added some CSS code to
change the aside tag, we have given it
an orange colour and aligned it in the
centre of the page.
GANGNAM HTML
This is how our page looks like with
the CSS changing it.
LETS ADD SOME MORE
CODE TO OUR CSS PAGE
GANGNAM CSS
We have added some more CSS code
to change the aside tag, we have
changed the colour to blue, changed
the font family to Arial, and created a
border with padding and a margin.
GANGNAM HTML
This is how our page looks like with
the CSS changing it. It looks more
highlighted now; more of a
interesting tidbit.
GANGNAM HTML
This is how our page looks like with
the CSS changing it. It looks more
highlighted now; more of a
interesting titbit. We‟ve now added
another paragraph in to highlight the
aside sitting in the middle.
LETS VALIDATE OUR CODE
GANGNAM HTML
We have validated our HTML and it
is now valid in HTML5.
GANGNAM CSS
We have validated our CSS Code and
it is now successfully valid.
LETS TEST OUR PAGE IN
 DIFFERENT BROWSERS
PAGE IN INTERNET   PAGE IN GOOGLE
   EXPLORER           CHROME
PAGE IN MOZILLA
    FIREFOX       PAGE IN OPERA
WEB ACCESSIBILITY
                   STANDARDS
                                         WCAG 2.0 Guidelines
 Principle 1: Perceivable - Information and user interface components must be presentable to users in
                                        ways they can perceive.
         Principle 2: Operable - User interface components and navigation must be operable.
Principle 3: Understandable - Information and the operation of user interface must be understandable.
Principle 4: Robust - Content must be robust enough that it can be interpreted reliably by a wide variety
                            of user agents, including assistive technologies.
HOW THE PAGE MEETS WCAG
     2.0 GUIDELINES
                   Principle 1: Perceivable – The page is all text.
           The Principle 2: Operable – There are no operable interfaces
Principle 3: Understandable – The information is presented in an easy to understand
                                       manor.
 Principle 4: Robust – The page can be loaded up in a variety of browsers and still
                                  keep its format.
SUMMARY

  We have created a webpage using HTML5. We have created styled it
using Cascading style sheets(CSS). We have shown how the concept of
„aside‟ works within HTML and explained the context of where it would
best be used. We have shown the WCAG 2.0 Guidelines – and how the
              page we created fits in to those guidelines.
REFERENCES
            http://www.w3schools.com/html/html5_intro.asp

        http://www.w3schools.com/quality/quality_accessibility.asp

              http://html5doctor.com/understanding-aside/

http://www.anthonycalzadilla.com/2010/08/html5-section-aside-header-nav-
               footer-elements-not-as-obvious-as-they-sound/

              http://en.wikipedia.org/wiki/Gangnam_Style

Contenu connexe

Tendances

GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
Heather Rock
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
bethanygfair
 

Tendances (20)

GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
 
CSS Eye for the Programmer Guy
CSS Eye for the Programmer GuyCSS Eye for the Programmer Guy
CSS Eye for the Programmer Guy
 
Presentation about html5 css3
Presentation about html5 css3Presentation about html5 css3
Presentation about html5 css3
 
HTML CSS and Web Development
HTML CSS and Web DevelopmentHTML CSS and Web Development
HTML CSS and Web Development
 
HTML5 & CSS3
HTML5 & CSS3 HTML5 & CSS3
HTML5 & CSS3
 
Front End Best Practices
Front End Best PracticesFront End Best Practices
Front End Best Practices
 
Web development using HTML and CSS
Web development using HTML and CSSWeb development using HTML and CSS
Web development using HTML and CSS
 
Web Design Primer Sample - HTML CSS JS
Web Design Primer Sample - HTML CSS JSWeb Design Primer Sample - HTML CSS JS
Web Design Primer Sample - HTML CSS JS
 
Best Web Designing Courses- Classes in Pune | Web Designing Training in pune ...
Best Web Designing Courses- Classes in Pune | Web Designing Training in pune ...Best Web Designing Courses- Classes in Pune | Web Designing Training in pune ...
Best Web Designing Courses- Classes in Pune | Web Designing Training in pune ...
 
Ppt of web development
Ppt of web developmentPpt of web development
Ppt of web development
 
Understand front end developer
Understand front end developerUnderstand front end developer
Understand front end developer
 
The Dark Arts of CSS
The Dark Arts of CSSThe Dark Arts of CSS
The Dark Arts of CSS
 
Introduction to the Web and HTML
Introduction to the Web and HTMLIntroduction to the Web and HTML
Introduction to the Web and HTML
 
Using Core Themes in Drupal 8
Using Core Themes in Drupal 8Using Core Themes in Drupal 8
Using Core Themes in Drupal 8
 
Slides bootstrap-4
Slides bootstrap-4Slides bootstrap-4
Slides bootstrap-4
 
Making Your Own CSS Framework
Making Your Own CSS FrameworkMaking Your Own CSS Framework
Making Your Own CSS Framework
 
Web Design 101
Web Design 101Web Design 101
Web Design 101
 
Web development | Derin Dolen
Web development | Derin Dolen Web development | Derin Dolen
Web development | Derin Dolen
 
Web Designing
Web Designing Web Designing
Web Designing
 
ARC WEB DESIGNING INSTITUTE | ISO Certified Web Designing Course
ARC WEB DESIGNING INSTITUTE | ISO Certified Web Designing CourseARC WEB DESIGNING INSTITUTE | ISO Certified Web Designing Course
ARC WEB DESIGNING INSTITUTE | ISO Certified Web Designing Course
 

Similaire à Aside, within HTML5 + CSS

Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
JagadishBabuParri
 

Similaire à Aside, within HTML5 + CSS (20)

Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
A Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI DeveloperA Complete Guide to Frontend - UI Developer
A Complete Guide to Frontend - UI Developer
 
web designing course bangalore
web designing course bangaloreweb designing course bangalore
web designing course bangalore
 
HTML 5 Complete Reference
HTML 5 Complete ReferenceHTML 5 Complete Reference
HTML 5 Complete Reference
 
ARTICULOENINGLES
ARTICULOENINGLESARTICULOENINGLES
ARTICULOENINGLES
 
HTML 5
HTML 5HTML 5
HTML 5
 
HTML5- The Boosting Era of Web Development
HTML5- The Boosting Era of Web DevelopmentHTML5- The Boosting Era of Web Development
HTML5- The Boosting Era of Web Development
 
Html5
Html5Html5
Html5
 
Html5
Html5Html5
Html5
 
Presentation 1 [autosaved]
Presentation 1 [autosaved]Presentation 1 [autosaved]
Presentation 1 [autosaved]
 
Html5 basics
Html5 basicsHtml5 basics
Html5 basics
 
A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3A practical guide to building websites with HTML5 & CSS3
A practical guide to building websites with HTML5 & CSS3
 
Web designing course bangalore
Web designing course bangaloreWeb designing course bangalore
Web designing course bangalore
 
WordPress North East (Jan 2021) ~ SEO Fundamentals For WordPress
WordPress North East (Jan 2021) ~ SEO Fundamentals For WordPressWordPress North East (Jan 2021) ~ SEO Fundamentals For WordPress
WordPress North East (Jan 2021) ~ SEO Fundamentals For WordPress
 
Lean And Clean! Building A Site With Web Standards
Lean And Clean! Building A Site With Web StandardsLean And Clean! Building A Site With Web Standards
Lean And Clean! Building A Site With Web Standards
 
Lean And Clean! Building A Site With
Lean And Clean! Building A Site WithLean And Clean! Building A Site With
Lean And Clean! Building A Site With
 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Dernier (20)

EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 

Aside, within HTML5 + CSS

  • 1. HTML5 AND CSS <Aside> Explaining the “Aside” function in HTML5 and how to use Cascading Style Sheets(CSS) to style HTML5
  • 2. PURPOSE To explain the “Aside” function in HTML5 for the everyday person. To demonstrate how Cascading style sheets (CSS) can be used to manipulate code within HTML5. To show how to style code so that it adheres to the web accessibility standards required for modern day use
  • 3. WHAT IS HTML5 ? HTML5 is a cooperation between the World Wide Web Consortium (W3C) and the Web Hypertext Application Technology Working Group (WHATWG). WHATWG was working with web forms and applications, and W3C was working with XHTML 2.0. In 2006, they decided to cooperate and create a new version of HTML. Some rules for HTML5 were established: New features should be based on HTML, CSS, DOM, and JavaScript Reduce the need for external plugins (like Flash) Better error handling More markup to replace scripting HTML5 should be device independent The development process should be visible to the public
  • 4. WEB ACCESSIBILITY STANDARDS The Web Accessibility Initiative - WAI WAI (created by W3C, in 1997) is a set of guidelines intended for web developers, authors, and designers- about how to make the web content accessible to people with disabilities. The goal of these guidelines is accessibility, but they will also help make web contents available to more browsers (voice browsers, cell phones, hand-held devices), and to more users working in difficult environments (hands-free, strong light, darkness, bad sight, heavy noise).
  • 5. CASCADING STYLE SHEETS (CSS) CSS defines HOW HTML elements are to be displayed. CSS describes the visual style (appearance, layout, colour, fonts) of HTML elements. CSS was designed to separate document layout from document content (which greatly improved HTML flexibility and reduced HTML complexity).
  • 6. ASIDE The aside element represents a section of a page that consists of content that is tangentially related to the content around the aside element, and which could be considered separate from that content. Such sections are often represented as sidebars in printed typography. Just because some content appears to the left or right of the main content isn‟t enough reason to use the aside element. Ask yourself if the content within the aside can be removed without reducing the meaning of the main content. Pullquotes are an example of tangentially related content.
  • 7. LETS LOOK AT SOME HTML5 CODE
  • 8. OUR HTML5 PAGE The page has the correct doctype format for HTML 5. It contains a Title tag, a body, an article, a paragraph tag and an aside tag. The <p>tag contains a paragraph about a current craze – Gangnam Style - taken from wikipedia.
  • 9. THE ASIDE TAG The aside tag lives within the article tag. The content of the tag is not essential information about the craze, but is interesting enough to note a mention. Information that appears within this tag is not meant to be vital information regarding a topic.
  • 10. LETS LOOK AT OUR CSS PAGE
  • 11. GANGNAM CSS Currently empty. This is the page that will create style within the page.
  • 12. LETS LOOK AT OUR HTML PAGE
  • 13. GANGNAM HTML This is how our page looks like without any CSS to style it. You cannot tell the difference between the text inside the article tag and inside the aside tag
  • 14. LETS ADD SOME CODE TO OUR CSS PAGE
  • 15. GANGNAM CSS We have added some CSS code to change the aside tag, we have given it an orange colour and aligned it in the centre of the page.
  • 16. GANGNAM HTML This is how our page looks like with the CSS changing it.
  • 17. LETS ADD SOME MORE CODE TO OUR CSS PAGE
  • 18. GANGNAM CSS We have added some more CSS code to change the aside tag, we have changed the colour to blue, changed the font family to Arial, and created a border with padding and a margin.
  • 19. GANGNAM HTML This is how our page looks like with the CSS changing it. It looks more highlighted now; more of a interesting tidbit.
  • 20. GANGNAM HTML This is how our page looks like with the CSS changing it. It looks more highlighted now; more of a interesting titbit. We‟ve now added another paragraph in to highlight the aside sitting in the middle.
  • 22. GANGNAM HTML We have validated our HTML and it is now valid in HTML5.
  • 23. GANGNAM CSS We have validated our CSS Code and it is now successfully valid.
  • 24. LETS TEST OUR PAGE IN DIFFERENT BROWSERS
  • 25. PAGE IN INTERNET PAGE IN GOOGLE EXPLORER CHROME
  • 26. PAGE IN MOZILLA FIREFOX PAGE IN OPERA
  • 27. WEB ACCESSIBILITY STANDARDS WCAG 2.0 Guidelines Principle 1: Perceivable - Information and user interface components must be presentable to users in ways they can perceive. Principle 2: Operable - User interface components and navigation must be operable. Principle 3: Understandable - Information and the operation of user interface must be understandable. Principle 4: Robust - Content must be robust enough that it can be interpreted reliably by a wide variety of user agents, including assistive technologies.
  • 28. HOW THE PAGE MEETS WCAG 2.0 GUIDELINES Principle 1: Perceivable – The page is all text. The Principle 2: Operable – There are no operable interfaces Principle 3: Understandable – The information is presented in an easy to understand manor. Principle 4: Robust – The page can be loaded up in a variety of browsers and still keep its format.
  • 29. SUMMARY We have created a webpage using HTML5. We have created styled it using Cascading style sheets(CSS). We have shown how the concept of „aside‟ works within HTML and explained the context of where it would best be used. We have shown the WCAG 2.0 Guidelines – and how the page we created fits in to those guidelines.
  • 30. REFERENCES http://www.w3schools.com/html/html5_intro.asp http://www.w3schools.com/quality/quality_accessibility.asp http://html5doctor.com/understanding-aside/ http://www.anthonycalzadilla.com/2010/08/html5-section-aside-header-nav- footer-elements-not-as-obvious-as-they-sound/ http://en.wikipedia.org/wiki/Gangnam_Style