Question and answer
creating the style for the h1 heading.
determine which properties you want to apply to the font. Possible font properties you can style are: * Font-family (for example, Tahoma, Arial, [ or Helvetica) * Font-style (which includes italic and oblique) * Font-variant (which includes normal and small caps) * Font-weight (either normal or bold) * Font-size (size can be given in pixels, ems, percentages or using keywords such as small, medium and large) 2 A possible CSS rule for an h1 heading might be: h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: large; }Decide if you want to have a border for your heading.
The possible border style properties are: * None * Dotted * Dashed * Solid * Double * Groove * Ridge 4 Possible border-width values include keywords such as thin, medium and thick or a value given in pixels, ems or percentages. A border-color value should also be specified. Choose any color you want. 5 Here's the h1 rule with some border styles added: h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: large; border-size: thin; border-style: dotted border-color: red; width: 400px; } 6 Padding can be added using a value in pixels, ems or percentages. Like borders, padding can be added individually to any side of a heading. 7 Here's a possible rule adding padding to the h1 style example: h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: large; border: thin dotted #FF0000; padding-top: 10px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; } Use Background Color or Background Image Rules 8 Any element can have a background-color. To apply a background color to the h1 example heading, use a rule like this: h1 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: large; border: thin dotted #FF0000; padding-top: 10px; padding-right: 0px; padding-bottom: 0px; padding-left: 10px; background-color: #CCFFFF; } 9 Instead of, or in addition to, a background color, an image can be used as a background for a heading. ]
Expert answered|shifa saleheen|Points 9603|
Question
Asked 4/12/2012 9:56:52 AM
0 Answers/Comments
This answer has been confirmed as correct and helpful.
s
Get an answer
New answers
Rating

There are no new answers.

Comments

There are no comments.

Add an answer or comment
Log in or sign up first.
Questions asked by the same visitor
Database summary
Weegy: Database Summary, a component of DataManager, is a reporting service that gives data owners quick access to statistics on their data occupancy in databases and the amount of data that is expired. (More)
Question
Expert Answered
Updated 1/25/2014 9:25:07 AM
0 Answers/Comments
What are the advantages of external CSS
Weegy: The Advantages of Using External CSS When you use "external" CSS (cascading style sheets) to control the basic cosmetics of your web site, you need only to edit those cosmetic properties in one file to update ALL of your web site's pages. [ This can be done from your server *if* your hosting service allows you to edit your site from a control panel, or you can edit the style sheet using a text editor on your system and upload it to your server. Cosmetic properties are defined as characteristics that do not interfere with your visitors' navigational experience. Not all CSS properties are safely compatible with all browsers, so you must be careful what properties you use. You do not want to negatively effect your visitors' experience at your site. Obviously, if your visitor is using an older version of Netscape to surf your site, and you have colored scrolls bars which do not display in Netscape, that would be considered a safe, cosmetic property. This is because the visitor using this old browser does not know the scrollbars are displayed in a different color if they were viewing your site with MIE, for example. This does not effect their navigation through your site. If it did, we would not consider it a safe, cosmetic CSS property. In essence, based on what I described above, using external CSS makes maintenance to your site's cosmetic appearance quite easy to maintain site-wide. Recently, we updated the appearance of our entire site, BasicTemplates.com, by changing the font-family and size. If you have been to our site before and have viewed it now, you will find this a refreshing new appearance. Feedback poured in about how much our visitors enjoyed the "new look". A few folks even remarked about how time consuming the change must have been since our site is so large. ] (More)
Question
Expert Answered
Asked 4/11/2012 1:11:14 PM
0 Answers/Comments
b) Normalization
Weegy: I believe this is a multiple choice question where you did not provide all choices or the question. Please list the question and all of the choices and I would be happy to assist you! (More)
Question
Expert Answered
Asked 4/13/2012 9:36:02 AM
0 Answers/Comments
34,013,758
questions answered
GET
Answers.
GET THE APP.
weegy*
*
Get answers from Weegy and a team of really smart live experts.
Popular Conversations
Which of the following best describes Dred Scott?
Weegy: User: Under the system of sharecropping, contracts usually favored
6/12/2021 5:56:42 AM| 4 Answers
Whats is the First step in selective breeding
Weegy: 2 + 2 = 4
6/14/2021 2:03:46 PM| 3 Answers
True or False: The higher the BAL, the higher the risk of a fatal ...
Weegy: The higher the BAL, the higher the risk of a fatal crash. TRUE. User: All of the information your brain ...
6/14/2021 7:12:01 PM| 3 Answers
Through which sense is rhythm best experienced in artworks?
Weegy: Rhythm is best experienced in artwork through the sense of sight. User: What is the meaning of life
6/16/2021 12:28:57 AM| 3 Answers
Whats the sum of an infinite geometric series
Weegy: 2+2=4
6/10/2021 12:26:38 AM| 2 Answers
GET
Answers.
GET THE APP.
weegy*
*
Get answers from Weegy and a team of really smart live experts.
S
L
Points 651 [Total 713] Ratings 3 Comments 621 Invitations 0 Offline
S
L
L
Points 637 [Total 5004] Ratings 8 Comments 557 Invitations 0 Offline
S
L
P
P
Points 493 [Total 2888] Ratings 0 Comments 493 Invitations 0 Offline
S
L
Points 319 [Total 319] Ratings 10 Comments 219 Invitations 0 Offline
S
L
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
Points 214 [Total 4153] Ratings 17 Comments 44 Invitations 0 Offline
S
L
1
1
1
Points 208 [Total 2988] Ratings 11 Comments 98 Invitations 0 Offline
S
L
Points 190 [Total 190] Ratings 0 Comments 190 Invitations 0 Offline
S
L
P
P
L
P
Points 186 [Total 6903] Ratings 6 Comments 126 Invitations 0 Offline
S
L
Points 165 [Total 668] Ratings 7 Comments 95 Invitations 0 Offline
S
L
Points 114 [Total 124] Ratings 4 Comments 64 Invitations 1 Offline
* Excludes moderators and previous
winners (Include)
Home | Contact | Blog | About | Terms | Privacy | © Purple Inc.