0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>Do you remember the assignment that you received from Instructor Muffin? We are developing a website with a homepage and blog entries. Therefore, we need to provide a navigation block on the main page that can be used to navigate to certain blog posts.</p>
1
<p>Do you remember the assignment that you received from Instructor Muffin? We are developing a website with a homepage and blog entries. Therefore, we need to provide a navigation block on the main page that can be used to navigate to certain blog posts.</p>
2
<p>To create a logical section of site-wide navigation, use the <nav> tag (which is an abbreviation for “navigation”). Usually <nav> includes links to other pages or navigation elements for the current page. Example:</p>
2
<p>To create a logical section of site-wide navigation, use the <nav> tag (which is an abbreviation for “navigation”). Usually <nav> includes links to other pages or navigation elements for the current page. Example:</p>
3
<nav> First post, second post and post archive </nav><p>We will cover links in the following chapters. For now, let’s add the navigation section on the main page. This section will be unique to the main page and will not be repeated on other pages. Therefore, we will place it in the main content.</p>
3
<nav> First post, second post and post archive </nav><p>We will cover links in the following chapters. For now, let’s add the navigation section on the main page. This section will be unique to the main page and will not be repeated on other pages. Therefore, we will place it in the main content.</p>
4
<p>Not every group of links on a page should be enclosed in <nav> tags. For example, a small block with supporting links can be inserted in the website footer. This block inside the <footer> tag should not be additionally enclosed in <nav> tags.</p>
4
<p>Not every group of links on a page should be enclosed in <nav> tags. For example, a small block with supporting links can be inserted in the website footer. This block inside the <footer> tag should not be additionally enclosed in <nav> tags.</p>
5
<p>In addition, the <nav> block in addition to the links may include paragraphs with text, headings, lists and other content.</p>
5
<p>In addition, the <nav> block in addition to the links may include paragraphs with text, headings, lists and other content.</p>