---
title: "Discussion on \"Which Tag Comes First in an HTML Document?\" | Hashnode"
description: "Discussion on \"Which Tag Comes First in an HTML Document?\". If you've searched this question, you've probably already noticed the internet doesn't fully agree with itself. Some sources say <html> is the first tag. Others insist it's <!DOCTYPE html>. Both answe"
url: "https://hashnode.com/posts/which-tag-comes-first-in-an-html-document/6a96acf795269d34cb14554f"
---

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

Discussion

# [Which Tag Comes First in an HTML Document?](https://itdaksh.hashnode.dev/which-tag-comes-first-in-an-html-document?utm_source=hashnode&utm_medium=feed)

If you've searched this question, you've probably already noticed the internet doesn't fully agree with itself. Some sources say <html> is the first tag. Others insist it's <!DOCTYPE html>. Both answe

Sep 1 · 8 min read · itdaksh.hashnode.dev  
Read the article

## Written by

[Itdaksh Education](https://hashnode.com/@ItdakshEducation)

@ItdakshEducation · 201 Ganesh Tower, Dada Patil Wadi, Opposite Railway Station, Thane west, Thane 400602

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

Skills ignite success

Get Skilled, Confident &amp; Hired 🚀 💻 Python | Java | Full Stack | Data | DevOps 🎯 Practical Training &amp; Placement Support

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
