If an HTML and CSS question has no JavaScript or other programming language related question, is it on topic? I read on earlier posts that these questions belong on DocType, but it was closed February 2013.

Since HTML is a markup language, not a programming language, do these kinds of questions belong on Stack Overflow, or Webmasters, or is there another site specifically for HTML/CSS?

  • 3
    Do you have a link to the closed question? I'm curious to see what question would have been closed, when dealing with the subjects you mention.
    – Bart
    Commented Jun 4, 2013 at 17:58
  • The DocType site, which Stack Overflow promoted, was closed doctype.com
    – scrblnrd3
    Commented Jun 4, 2013 at 17:59
  • Ah, sorry. I misread. I thought you were referring to a question on SO.
    – Bart
    Commented Jun 4, 2013 at 18:02
  • 1
    @scrblnrd3: Doctype is not owned or operated by Stack Exchange (the people who run Stack Overflow). They are merely mutual affiliates whom once advertised each other. Doctype has absolutely no bearing on the on-topicness of HTML and CSS questions here.
    – animuson StaffMod
    Commented Jun 4, 2013 at 18:21

1 Answer 1


HTML and CSS are part and parcel of web development, and by extension programming web applications.

As such, questions about both technologies are on topic for Stack Overflow, as evidenced both by the tags and existing (with different version variants) and questions that contain HTML/CSS and no JavaScript or server side programming.

As far as we are concerned, HTML or CSS are source code - they are part of the source code of the web.

In short - such questions (so long as they are not simple typos) have a place on Stack Overflow and are certainly on topic.

  • I sense a Good Answer badge coming soon ;) +1
    – Doorknob
    Commented Jun 4, 2013 at 19:15
  • 3
    I guess this is the official line, but I suspect there are a lot of people who would disagree. In my view, if it doesn't have a branch (ie, an if-statement), its not a program. Commented Jun 10, 2013 at 1:59
  • @TylerDurden - In the context of a web application? If someone asks about tab order in a UI, there is no mention of ifs. Is that also off-topic in your opinion?
    – Oded
    Commented Jun 10, 2013 at 9:10
  • Stack Overflow has [windows] tag. That doesn't mean questions about how to use Windows is on-topic on Stack Overflow. Bad point.
    – user202729
    Commented Jun 28, 2018 at 12:16
  • @user202729, but the Windows tag specifically mentions: "Note: GENERAL WINDOWS SUPPORT IS OFF-TOPIC.", so that might not be the best example as well.
    – wovano
    Commented Jul 18, 2019 at 21:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .