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
Open the debug3-4.css file. The body element should have a width that is 90% of the...
Open the debug3-4.css file. The body element should have a width that is 90% of the width of the browser window ranging from a minimum of 600 pixels up to a maximum of 1024 pixels. Fix the syntax errors in the body style rule that defines the width of the web page. The style rule for the body element sets up a grid layout for the page. However, there are several errors in defining the grid areas, grid columns, and...
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...
<!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...
Which of the following has an asymmetric center? Check all that apply. CHBr2 CHFBrCl CH3CHCl2 BeHCl...
Which of the following has an asymmetric center? Check all that apply. CHBr2 CHFBrCl CH3CHCl2 BeHCl BHFCl
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. Which of the following is true about binary fission? Group of answer choices A the...
1. Which of the following is true about binary fission? Group of answer choices A the original two chromosomes in a bacterial cell each replicate and are placed into two new cells B the chromosome is copied, then attaches to the cell membrane by spindle fibers C there is no nuclear membrane to break down and reform D lysis of the existing cell wall of bacteria occurs during the process 2. DNA:   Group of answer choices A replication is described...
Question text Which of the following best describes constrained optimization problem? Select one: a. A constrained...
Question text Which of the following best describes constrained optimization problem? Select one: a. A constrained optimization problem is an optimization problem that maintains a priority queue of variables, where the weight of a variable is the number of conflicts in which it participates. b. A constrained optimization problem is an optimization problem that also has hard constraints specifying which variable assignments are possible. The aim is to find an optimal assignment that satisfies the hard constraints. c. A constrained...
Which of the following can be transferred horizontally through DNA exchange? Select all that apply. a....
Which of the following can be transferred horizontally through DNA exchange? Select all that apply. a. Mutated genes b. Genes carried on plasmids c. Genes on the bacterial chromosome d. Antibiotic resistance genes e. Capsule biosynthesis genes f. The ability to perform conjugation
Which of the following correctly applies capitalization rules? Group of answer choices I heard Jay say...
Which of the following correctly applies capitalization rules? Group of answer choices I heard Jay say that he “Wants to be transferred to our Houston office.” Our midwest region is performing better than any of us dreamed possible. He will finish his Bachelor’s degree in May. What about his education? His experience? His potential for promotion? Flag this Question Question 61 pts Which of the following sentences demonstrates correct word usage? Group of answer choices Your involvement with drugs in...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT
Active Questions
  • -Which demodulation technique(s) successfully demodulated the conventional AM(amplitude modulation), Coherent Detection or Envelope Detector? Did they...
    asked 1 minute ago
  • For an OR gate, which of the following input combinations produces a LOGIC Low output? x...
    asked 4 minutes ago
  • The Pentium 4 Prescott processor, released in 2004, had a clock rate of 3.6 GHz and...
    asked 15 minutes ago
  • Which of the following selectors matches an h1 heading with the id “topHeading”? h1#topHeading h1[id=“topHeading”] h1...
    asked 17 minutes ago
  • Assume a Poisson distribution. a. If lambda=2.5​, find ​P(X=5​). b. If lambda=8.0​, find ​P(X=10​). c. If...
    asked 27 minutes ago
  • 4) Course: Programming Fundamentals III Textbook: A Practical Introduction to Data Structures and Algorithm Analysis Edition...
    asked 33 minutes ago
  • Explain how the proportions for two populations are used in hypotheses testing about two population proportions.
    asked 49 minutes ago
  • Suppose as a researcher you gather green turtles from a beach where the magnetic field strength...
    asked 56 minutes ago
  • AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA choose two dif
    asked 1 hour ago
  • Can someone please explain this to me? Suppose that the Go-Back-N protocol with ? = 3...
    asked 1 hour ago
  • The daily sales of gasoline (in liters) at a service stations are assumed to be uniformly...
    asked 1 hour ago
  • Add a recursive Boolean function called bool isGreater(int compare) to class IntegerLinkedList to check if any...
    asked 1 hour ago