Question

Which of the following style rules will center the text of all h1 through h6 headings...

Which of the following style rules will center the text of all h1 through h6 headings with the text displayed at normal weight?

  1. h1 - h6 {

       text-align: center;

       weight: normal;

    }

  2. h1, h2, h3, h4, h5, h6 {

       align: center;

       weight: normal;

    }

  3. h1, h2, h3, h4, h5, h6 {

       text-align: center;

       font-weight: normal;

    }

  4. h1 - h6 {

       text-align: center;

       font-weight: normal;

    }

Homework Answers

Answer #1

First of all let's see which is the right CSS selector

h1-h6

OR

h1, h2, h3, h4, h5, h6

h1-h6 is not a valid css selector, that means we can't select any HTML element using h1-h6. So, option one and option four are not valid.

Now, with the option below

h1, h2, h3, h4, h5, h6 {

   align: center;

   weight: normal;

}

It looks fine but there is actually no CSS property called weight:normal;

The correct way of setting font weight is font-weight:normal;

Therefore, the option that will center the text of all h1 through h6 headings with the text displayed at normal weight is below i.e the third one.

h1, h2, h3, h4, h5, h6 {

   align: center;

   font-weight: normal;

}

HAPPY LEARNING

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Let's say you have this in your code. Which of the following are true? (select only...
Let's say you have this in your code. Which of the following are true? (select only correct answers) Note: See FONT-SIZE info (Links to an external site.) re: font EM values h1, h2 { margin-top: 33px; font-family: Lobster; text-align: center; color: #333333; font-size: 1.3em; letter-spacing: .3em } Group of answer choices a. MARGIN-TOP: 33px; creates the same result as MARGIN: 33px 0 0 0; b. This defines a CSS "descendant selector" rule c. #333333 is a hex COLOR value that...
TASK 2: Open numberic-variable_problem.js file in a text editor (e.g., NotePad++). What is the syntax error...
TASK 2: Open numberic-variable_problem.js file in a text editor (e.g., NotePad++). What is the syntax error in the JavaScript file? Find error message in console in a browser’s developer tool. Fix that error and reload the web page in browser. What is the change in the content displayed in the web page after fix the syntax error in the JavaScript code? Replace the line#18 statement (el.textContent = '$' + total;) in the JavaScript code with    el.textContent = '$' + total.toFixed(3);...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>All Pets Veterinary Hospital</title> <style> body { font-family: arial,...
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>All Pets Veterinary Hospital</title> <style> body { font-family: arial, sans-serif; font-size: 100%; } /* outer container */    #wrapper { width: 960px; margin: 50px auto; padding: 0px; background-color: rgb(255, 255, 255); /* white */ border: 1px solid #000; /* black */ }    header h1 { text-align: center; }    nav { text-align: center; background: rgb(175, 196, 206); }    address figure { text-align: center; } </style> </head> <body> <div id="wrapper"> <!-- outer...
Challenge 5 Read ALL of the instructions carefully before starting the exercise! Dear Colleague, Earlier today...
Challenge 5 Read ALL of the instructions carefully before starting the exercise! Dear Colleague, Earlier today I built my fourth website using HTML5 and CSS3. This time I wanted to try using CSS float layout options on a website dedicated to my favorite topic: robotics. I wanted my website to look like what is shown in Figure 1 (see below). However, after giving it my best effort, things once again didn’t turn out the way I wanted (see the code...
Tableau can connect to all these file types except which of the following? Text PDF files...
Tableau can connect to all these file types except which of the following? Text PDF files Excel Microsoft Access Microsoft Power BI Which of the following is least likely to be a Dimension field in Tableau? Total cost Country State Segment None of the choices are correct. Which of the following is least likely to be a Measure field in Tableau? Sales revenue Segment Total cost Quantity sold None of the choices are correct. Which of the following best describes...
1. Concerning the Master Production Schedule (MPS), which of the following statements are true? Select all...
1. Concerning the Master Production Schedule (MPS), which of the following statements are true? Select all correct answers. A. A Level Production Strategy minimizes the need for extra capacity and allows for smooth labor operations. B. The MPS is the tie between production and sales. C. A drawback about applying a Chase Demand Strategy is that it may lead to high levels of inventory when demand is low. D. The MPS allows sales to know the Availability to Promise (ATP)...
Question 1 of 15 Which of the following is not a recommended starting point to enter...
Question 1 of 15 Which of the following is not a recommended starting point to enter sales of products/services? A. Quick Create > Invoice B. Register > New transaction C. Quick Create > Sales Receipt D. Customer detail page > New transaction E. Transactions > Sales > New transaction Question 2 of 15 Which of the following statements accurately describes bank rules? A. Bank rules are imported from the Bank's website into the For Review tab in the Banking Center...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT