---
title: "Discussion on \"Semantic HTML: What, Why, and How\" | Hashnode"
description: "Discussion on \"Semantic HTML: What, Why, and How\". TL;DR - Watch the lightning talk version!\nWatch my Front-end Foxes Day 2022 talk or read the transcript!\nWhat\n\nUse HTML elements for their intended purpose.\n\nSeparate content and presentation.\n\n\nWhy\nIt's easier to read and naturally leads to more con..."
url: "https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Semantic HTML: What, Why, and How](https://abbeyperini.hashnode.dev/semantic-html-what-why-and-how?utm_source=hashnode&utm_medium=feed)

TL;DR - Watch the lightning talk version! Watch my Front-end Foxes Day 2022 talk or read the transcript! What Use HTML elements for their intended purpose. Separate content and presentation. Why It's easier to read and naturally leads to more con...

Mar 15, 2022 · 8 min read · abbeyperini.hashnode.dev  
Updated Mar 6, 2024  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#html5](https://hashnode.com/tag/html5)
-   [#accessibility](https://hashnode.com/tag/accessibility)

## Written by

[Abbey Perini](https://hashnode.com/@abbeyperini)

@abbeyperini · Atlanta, GA

  
[View profile](https://hashnode.com/@abbeyperini)

Full-stack Web Developer

Abbey Perini is many things - a metro Atlanta native, person of many hobbies, full-stack web developer, accessibility advocate, international speaker, and technical writer with ✨over 500,000 views.✨ She's full-stack in the truest sense - give her a problem and she'll figure it out. She's happiest problem solving in the front-end, back-end, and all the APIs and microservices in between. Passionate about accessibility, she's worked in Vue, React, and even AngularJS (2013). She's spent her development career rectifying tech debt in existing codebases.

## Responses 8

Markdown supported · ⌘↵ to post

[Anushka Singh Bhardwaj](https://hashnode.com/@singh01)

[May 17, 2023](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/64648553bb615ac11d995d0d)

Amazing article.

[Shallie The God](https://hashnode.com/@ShallieThegod)

[Jun 18, 2022](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/62add2c3d8afe74aa51fad69)

Hey Abbey, thanks a lot for this article! I wrote something similar but I noticed that when I published it, the html tags disappeared on hashnode. So I'm wondering how you were able to successfully put the tags, if you don't mind can you show me? 🙏

[caner demirci](https://hashnode.com/@canerdemirci)

[Apr 19, 2022](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/625ec43757bc36111520429f)

I should make notes from this article. Useful.

[Vincent Dsouza](https://hashnode.com/@VincentDsouza)

[Apr 18, 2022](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/625d68a59ad0ef10f07bdbad)

This is a wonderful guide to the deeper nuances of HTML. Usually, once up and running with the **basic** tags, developers tend to rush towards CSS and JS. We tend to leave behind a lot of interesting tidbits, which [Abbey Perini](https://hashnode.com/@abbeyperini) has done a wonderful job summarizing. Thanks!!!

[Yahaya Oyinkansola](https://hashnode.com/@Kansoldev)

[Apr 15, 2022](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/62590d9a52fb7bd53380c237)

This is such a great article, truly we as developers don't understand the true power html has on its own, Thanks for this tips. I want to ask, for the link icon, why does the type have to be image/x-icon, I have seen this on multiple websites but never understood the reason

[Abbey Perini](https://hashnode.com/@abbeyperini)

[Apr 15, 2022](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/62590d9a52fb7bd53380c237#reply-625960d92f84e0d4fc33b45a)

It doesn't have to be image/x-icon, that's the MIME type for ICO (fileName.ico) files. You can also use PNG (image/png) and static GIF (image/gif) files in all browsers: [en.m.wikipedia.org/wiki/Favicon](https://en.m.wikipedia.org/wiki/Favicon)

The difference is within one ICO file there are multiple images with different sizes and color depths to allow browsers to scale it appropriately. With a raster image like PNG, you'd have to link to multiple images, specify sizes, and the various browsers have conflicting rules about which one they'll pick.

If you have an ICO file at root level, browsers will check for it automatically. There are also some <meta> tag types that allow you to specify other uses for the favicon like bookmark icons.

[Yahaya Oyinkansola](https://hashnode.com/@Kansoldev)

[Apr 19, 2022](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/62590d9a52fb7bd53380c237#reply-625e39a89ad0ef10f07bee86)

[Abbey Perini](https://hashnode.com/@abbeyperini) Thank you, i understand better now

[Walter NS](https://hashnode.com/@Walter7NS)

[Apr 14, 2022](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/6257e14452fb7bd53380a73e)

Great

[Cess](https://hashnode.com/@Cesscode)

[Apr 14, 2022](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/6257dc4452fb7bd53380a670)

This is an amazing article. I wrote something similar for Freecodecamp

[Shrikant Dhayje](https://hashnode.com/@shriekdj)

[Apr 14, 2022](https://hashnode.com/posts/semantic-html-what-why-and-how/6230ff741ea5cdf0315536da/comment/6257bb1ae58c4ac41a67645a)

I also try to be semantic as possible for making html file. for example i write `header` and `nav` tag separately but under one `wrapper` tag by which I can make them under one top bar

```
<div class="wrapper">
  <header>...</header>
  <nav>...</nav>
</div>
```
