FUNDAMENTALS OF COMPUTER

WEB BROWSERS TECHNOLOGY

WHAT IS WEB TECHNOLOGY

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
A CSS class attribute is represented by
A
a # prior to the selector name
B
boldface type on the declaration
C
a period before the selector name
D
quotation marks around the HTML element
Explanation: 

Detailed explanation-1: -In CSS, a class selector is formatted as a period (.) character followed by the name of the class. It selects all elements with that class attribute so that unique CSS declarations can be applied to those specific elements without affecting other elements on the page.

Detailed explanation-2: -To bold the text in HTML, use either the strong tag or the b (bold) tag. Browsers will bold the text inside both of these tags the same, but the strong tag indicates that the text is of particular importance or urgency. You can also bold text with the CSS font-weight property set to “bold.”

Detailed explanation-3: -The font-weight CSS property sets the weight (or boldness) of the font.

Detailed explanation-4: -The class global attribute is a space-separated list of the case-sensitive classes of the element. Classes allow CSS and JavaScript to select and access specific elements via the class selectors or functions like the DOM method document. getElementsByClassName .

There is 1 question to complete.