COMPUTER NETWORKING

MULTIMEDIA AND QUALITY OF SERVICE

MULTIMEDIA DATA

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which tag defines the sections in a HTML page so that styles can be applied to specific sections of the page only?
A
<div>
B
<sec>
C
<h1>
D
<br>
Explanation: 

Detailed explanation-1: -The <div> tag defines a division or a section in an HTML document. The <div> tag is used as a container for HTML elements-which is then styled with CSS or manipulated with JavaScript.

Detailed explanation-2: -The <style> tag is used to define style information (CSS) for a document.

Detailed explanation-3: -The <style> HTML element contains style information for a document, or part of a document. It contains CSS, which is applied to the contents of the document containing the <style> element.

Detailed explanation-4: -The style attribute specifies the style, i.e. look and feel, of the <div> element. A style contains any number of CSS property/value pairs, separated by semicolons (; ). The style attribute overrides any other style that was defined in a <style> tag or an external CSS file.

There is 1 question to complete.