/    Sign up×
Community /Pin to ProfileBookmark

How case sensitive is HTML? What happens if I write once a and than A or p or whatever?
(Sorry for asking this dummy-question here, but the childrens forum is off.)
Thank you in advance,
R.

to post a comment
Full-stack Developer

3 Comments(s)

Copy linkTweet thisAlerts:
@trielephantJul 12.2007 — HTML is designed to be case-insensitive. Either will work. A long time ago developers were urged to use capitals for tag names. However, with XHTML you must use lowers. If you aren't worried about standards or readability, anything goes.
Copy linkTweet thisAlerts:
@felgallJul 12.2007 — XHTML and JavaScript are case sensitive and require tag names to be all lowercase but HTML is not and allows you to use uppercase and/or lowercase characters in whatever mix you like.
Copy linkTweet thisAlerts:
@ray326Jul 13.2007 — HTML is not case sensitive but I'd recommend you use lower case tags to make your pages easier to transition to XHTML where A doesn't exist.
×

Success!

Help @RivkaS spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...