Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 77e66b4

Browse files
authored
Merge pull request #67 from Aronja/master
Add picture to explain semantic HTML structure
2 parents bd1febc + a7c4e40 commit 77e66b4

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

week-1/3-semantic-html/html.jpg

10.5 KB
Loading

week-1/3-semantic-html/readme.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Semantic HTML
22

3-
There are no semantic tags or attributes being used in the messages for this example. Let's improve it by changing the tags and attributes to semantic HTML code, so that computers can understand what kind of information is being presented. Complete the following changes in the `index.html` file:
3+
There are no semantic tags or attributes being used in the messages for this example. Let's improve it by changing the tags and attributes to semantic HTML code, so that computers can understand what kind of information is being presented.
4+
Take a look at the picture, which shows an example of a semantic HTML structure.
5+
![A visual diagram showing the semantic structure of an HTML page.](html.jpg)
6+
7+
Complete the following changes in the `index.html` file:
48

59
1. Replace an existing tag with the `<header role="banner">` tag to specify the site's header area.
610
2. Replace an existing tag with the `<main role="main">` tag to specify the main content on the site.

0 commit comments

Comments
 (0)