FUNDAMENTALS OF COMPUTER

COMPUTER PROGRAMMING FUNDAMENTALS

WHAT IS PROGRAMMING

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
How many heading tags are there?
A
2
B
8
C
6
D
None of the above
Explanation: 

Detailed explanation-1: -HTML defines six levels of headings. A heading element implies all the font changes, paragraph breaks before and after, and any white space necessary to render the heading. The heading elements are H1, H2, H3, H4, H5, and H6 with H1 being the highest (or most important) level and H6 the least.

Detailed explanation-2: -HTML defines six levels of headings, and these heading elements are H1, H2, H3, H4, H5, and H6. The H1 element is the highest or most important level, and the H6 element is the least important. These different heading levels help to communicate the organization and hierarchy of the content on a page.

Detailed explanation-3: -HTML was written as an SGML application. Each element type had to be defined explicitly (DTDs provide no way to define element types with wild cards), so an infinite number could not be defined. 6 was presumably chosen because it was assumed that nobody would need a sub-sub-sub-sub-sub-sub-heading.

Detailed explanation-4: -The HTML specification defines six headings. Browsers recognize six headings. If you start using <h7> and so on, then you’ll be using an invalid element.

Detailed explanation-5: -HTML headings are defined with the <h1> to <h6> tags.

There is 1 question to complete.