Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6013973
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:37:31+00:00 2026-05-23T02:37:31+00:00

I was going through someone’s .asp code and saw that he was printing a

  • 0

I was going through someone’s .asp code and saw that he was printing a HTML without closing it. I went to Chrome and in its inspector to see the DOM and where to close it when out of the sudden there it was: the tag!!

I went back to .asp to check if I missed something, but there were no html includes or .js that would be closing it. I thought I was going crazy and then a colleague of mine told me that some Browsers are closing unclosed tags by themselves?!

It makes sense regarding all the bad code out there but…

Inspector has the tag, but the real HTML source code doesn’t so I assume Chrome reads the source code, magically adds closing tags and then presents the page. Chrome inspector, then, inspects the magically changed version.

My questions are:

  • why would a developer tool like C. inspector show the modified version?

  • how to turn it of ?

  • what else is autoclosed except tag

Thanks a lot

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:37:31+00:00Added an answer on May 23, 2026 at 2:37 am

    What you see in the inspector (same goes for firebug) is the browser-interpreted (or rendered) version of the given source not the real source.

    why would a developer tool like C. inspector show the modified version?

    If error checking were too strict, a lot of webpages wouldn’t be viewable at all.

    how to turn it of ?

    I don’t think that’s possible.

    what else is autoclosed except tag

    Everything the browsers needs to get a wellformed html-source.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm going through someone else's code and I saw this statement: public CustomClassName this
I'm going through some practice problems, and I saw this code: #include <stdio.h> #include
I was going through someone's code where I came across a thread: while(TRUE) {
i have been going through some code and came across a statement that somehow
I'm going through someone's old code and I came across this statement: $tmpStr =
I'm going through someone else's code and came across the following syntax: typedef struct
Just going through the sample Scala code on Scala website, but encountered an annoying
I am going through the code which uses Predicate in Java. I have never
I'm going through my code to replace any instances I'm using the ereg() function
I've been going through some open-source code for a Twitter app, and came across

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.