473,888 Members | 2,194 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Capitalization and case of html tags?

Looking at the html produced by Visual Studio I see a mixed bag of tag
capitalization. For example there's <HEAD> and <body>. Then there's
<form and <TABLE>. Is there some logic behind the mixed casing?

Is there a right way and a wrong way? I believe that the W3C recommends
lower casing.

Thanks for your help.
Nov 18 '05 #1
5 1597
HTML is case-insensitive.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Bruce W.1" <br***@noDirect Email.com> wrote in message
news:3F******** *******@noDirec tEmail.com...
Looking at the html produced by Visual Studio I see a mixed bag of tag
capitalization. For example there's <HEAD> and <body>. Then there's
<form and <TABLE>. Is there some logic behind the mixed casing?

Is there a right way and a wrong way? I believe that the W3C recommends
lower casing.

Thanks for your help.

Nov 18 '05 #2
Kevin Spencer wrote:

HTML is case-insensitive.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

=============== =============== =============== =============== ====

This is true. However XHTML IS case sensitive, and this is what we
should all be using, right?
Nov 18 '05 #3
For now it doesn't really matter.

If you really want to standardize, I would go for lower casing. In
particular XHTML is case sensitive and uses lower case...
--

"Bruce W.1" <br***@noDirect Email.com> a écrit dans le message de
news:3F******** *******@noDirec tEmail.com...
Looking at the html produced by Visual Studio I see a mixed bag of tag
capitalization. For example there's <HEAD> and <body>. Then there's
<form and <TABLE>. Is there some logic behind the mixed casing?

Is there a right way and a wrong way? I believe that the W3C recommends
lower casing.

Thanks for your help.


Nov 18 '05 #4
> This is true. However XHTML IS case sensitive, and this is what we
should all be using, right?
We should all be making informed decisions based upon a working knowledge of
the technologies available, not trying to reach a concensus as to what
technology is right or wrong.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Bruce W.1" <br***@noDirect Email.com> wrote in message
news:3F******** ******@noDirect Email.com... Kevin Spencer wrote:

HTML is case-insensitive.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

=============== =============== =============== =============== ====

This is true. However XHTML IS case sensitive, and this is what we
should all be using, right?

Nov 18 '05 #5
Might be easier for everyone if we were all singing of the same hymn sheet
though...

It's a small thing right now but it could get bigger with the semantic web -
join me and go small case - sitting on the fence can damage your health -
especially if it's electrified...

"Kevin Spencer" <ke***@takempis .com> wrote in message
news:eT******** ********@TK2MSF TNGP09.phx.gbl. ..
This is true. However XHTML IS case sensitive, and this is what we
should all be using, right?
We should all be making informed decisions based upon a working knowledge

of the technologies available, not trying to reach a concensus as to what
technology is right or wrong.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Bruce W.1" <br***@noDirect Email.com> wrote in message
news:3F******** ******@noDirect Email.com...
Kevin Spencer wrote:

HTML is case-insensitive.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

=============== =============== =============== =============== ====

This is true. However XHTML IS case sensitive, and this is what we
should all be using, right?


Nov 18 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1301
by: Agoston Bejo | last post by:
Tools / Options / Text Editor / HTML/XML / Format / Capitalization Usually I use Tags: Uppercase; Attributes: Uppercase but now I edit XML pages and I set them both to "As entered". However, the editor behaves as if I had set it to "Lowercase". Is this a bug or what? How can I simply enter xml tags without being either uppercased or lowercased?
13
2025
by: Richard | last post by:
I've been looking at implementing switch/case on my photo gallery. Most of the sites I've seen so far, only show the bare basics. With no real practical examples. As brucie does with his butterlies and bugs, he uses switch/case, but in php. Visitor clicks on a thumbnail selection and the thumbs appear. Selection of a thumb shows the larger pic AND description. Since the selection is basically making a choice as within a form, how does
8
1986
by: Ray | last post by:
Hello guys, OK, I've been reading some more about Python. There are some things about Python exception that I haven't been able to grasp: 1. This is a small thing, but why is object spelled "object", and the mother of all exception "Exception" (with capital E)? Why is not object spelled "Object" then? Especially since Exception's descendants are named with the first letter of each word capitalized? I mean, in Java, it's Object....
32
2966
by: Cornel Bicutzi | last post by:
Hello, What is the difference between HTML and XHTML... Thanks, ------------------------------------------------------------------------ IT Interview Questions : http://www.geekinterview.comIT Tutorials and Articles : http://www.geekarticles.com
6
10249
by: Corepaul | last post by:
I am new to Access 2000. My operating system is Windows 2000. In the early stage of development I noticed something weird. On my form, I have a Command Button named "btnAlbumUp". The first time that I reference this button in VBA code, the Visual Basic Editor capitalizes the P changing btnAlbumUp.SetFocus to
19
26465
by: Eric Lindsay | last post by:
Should HTML 4.01 Strict markup be done in upper case or in lower case? I understand that HTML allows either upper or lower case. I also notice that XHTML apparently requires lower case. However I saw some mention that the HTML DOM uses upper case for markup elements. So, should I worry about what this means? I am inclined to go with lower case, for two reasons. Easier to change if I subsequently want to use XHTML.
5
2345
by: acord | last post by:
Hi, I m getting annoying display problem when placing javascript tags in a html page. Should the javasscript tags placed at the beginning of a html page before anything start? or placed between the <head></head> tags? If I placed the script tags at the beginning of the html page, I can have the Draggale Layer shown and movable by the mouse, but the entired page will not read the style.css file (as I found the font displayed very ugly);...
9
6743
by: anupamjain | last post by:
Hi, After 2 weeks of search/hit-and-trial I finally thought to revert to the group to find solution to my problem.(something I should have done much earlier) This is the deal : On a JSP page, I want to grab a URL and parse /change the HTML and send it to the JSP page. I take the URL from the user in a textbox (not the
32
8234
by: Bill H | last post by:
I wouldn't consider myself a newbie to PHP since I have never written one line of code in it (am a perl guy myself), but part of a team I am working with is writing some php interfaces into a database and I noticed that they are relaying on HTML form value names to always be lowercase in their code (ie $_POST (fyi that may be typed wrong)) and from my experience it is always better, when reading in the post information to convert the the...
0
9957
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9799
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10878
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10434
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7988
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5810
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
6011
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4635
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3245
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.