FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WEB PAGE DESIGN AND PROGRAMMING LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
you can Write HTML tags in capital or small letters.
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -HTML allows mixing uppercase and lowercase letters in element names. However, we recommend using lowercase element names, because: Mixing uppercase and lowercase names looks bad.

Detailed explanation-2: -You can define the text case for your style by using the text-transform property. In this way, you can display the text either with initial capital letters, in all capital letters, in all small letters, or as it was typed.

Detailed explanation-3: -Explanation: HTML tags are not case sensitive. You can write all HTML tags in lowercase or uppercase and they will be correctly rendered on a browser.

Detailed explanation-4: -All the HTML elements/tags are case-insensitive. Case-insensitive means the tags/elements which are used in the code are understandable by the browser irrespective of the letters being the upper case or lower case classes.

Detailed explanation-5: -HTML does not have this same requirement, but it’s a good habit to get into in case you ever need to code in XHTML. Tags in HTML are not case sensitive, but in XHTML all tags must be in lower case. Even when coding in HTML, you should get in the habit of writing tags in lower case.

There is 1 question to complete.