You are creating a style for the contents of the heading 1 element. You want all H1 text to be displayed in the font “Arial” in all capital letters with the first letter of each word slightly bigger than all the other letters. Which style rule should you create?0 / 1 pointh1 { font-style: “Arial”; font-variant: small-caps; }h1 { font-family: “Arial”; font-variant: small-caps; }h1 { font-family: “Arial”; font-size: small-caps; }h1 { font-family: “Arial”; font-weight: small-caps; }
Question
You are creating a style for the contents of the heading 1 element. You want all H1 text to be displayed in the font “Arial” in all capital letters with the first letter of each word slightly bigger than all the other letters. Which style rule should you create?0 / 1 pointh1 { font-style: “Arial”; font-variant: small-caps; }h1 { font-family: “Arial”; font-variant: small-caps; }h1 { font-family: “Arial”; font-size: small-caps; }h1 { font-family: “Arial”; font-weight: small-caps; }
Solution
The correct style rule you should create is:
h1 { font-family: “Arial”; font-variant: small-caps; }
Similar Questions
You are creating a web page. In the heading element of the web page is the following code:<link rel=”stylesheet” href=”styles.css”><style> h2 { font-family: “Arial”; } h3 { font-family: “Calibri”; } </style>The code in the styles.css document is the following:h2 { font-family: “Times New Roman”; } .ad { font-family: “Courier-New”; }On the web page you have the following paragraph:<h2 id=”ad”>The best place to eat in town!<h2>What font will be used to display “The best place to eat in town!”?1 pointTimes New RomanArialCourier-NewCalibri
Which heading style consider as a base text in HTML?Answer areaH1H6H4H2
How do you apply a style to all <h1> elements in CSS?0.5 Marksh1 {}#h1 {}all.h1 {}.h1 {}
By default which of the following HTML headings would make our text appear the largest?1 point<h3><h6><h1><h5>
You are creating a headline for a web page advertising a sale. You have the following code in the web page:<h1>Today Only! All items <font class=”slashed”>twenty</font> fifty percent off!</h1>You need to create a style rule that will run a horizontal line through the center of the word twenty so it looks like this: twentyWhat style rule should you create?1 pointh1.slashed { text-decoration: line-through; }h1.slashed { text-decoration: strike-through; }h1.slashed { text-transform: strike-through; }h1.slashed { text-indent: top; }
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.