Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
176 views5 pages

Semantic HTML for Web Developers

The document provides 3 examples of websites - Smashing Magazine, Twitter, and Github - that make use of semantic HTML elements like <header>, <nav>, <main>, <article>, and <section> to structure their content in a way that improves accessibility. It also notes that Github uses a custom <details-menu> element for its navigation menu.

Uploaded by

Hruday charan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
176 views5 pages

Semantic HTML for Web Developers

The document provides 3 examples of websites - Smashing Magazine, Twitter, and Github - that make use of semantic HTML elements like <header>, <nav>, <main>, <article>, and <section> to structure their content in a way that improves accessibility. It also notes that Github uses a custom <details-menu> element for its navigation menu.

Uploaded by

Hruday charan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

George Moller

_georgemoller

3 Real World
Examples of
Semantic
HTML
01
George Moller
_georgemoller

Smashing Magazine
header
nav
ul
form <header>
header <nav>
main
<ul>
article
<form>
h2
<article>
time <h2>
<time>
<main>
article

form
02
George Moller
_georgemoller

Twitter
header section main
nav <header>
<nav>
<main>
<aside>
aside <section>

nav
02
George Moller
_georgemoller

Twitter
<article>
article section <section>

section
03
George Moller
_georgemoller

Github
header
nav
<header>
<nav>
nav
<main>
<details> & <summary>
<details-menu>
<details-menu> is actually

a custom element (see Web


Components standard) created by

details-menu github.

main

You might also like