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.
f
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
37,244,658
questions answered
Popular Conversations
This office conducts the Single Audit Act.
1/19/2023 7:21:00 AM| 5 Answers
What’s the waste product of electrons and pyruvate combining in ...
Weegy: The waste product of electrons and pyruvate combining in fermentation is lactic acid. User: Ella has just ...
1/24/2023 12:51:15 AM| 5 Answers
What is 5 5 5 5 =
1/17/2023 3:21:06 AM| 4 Answers
23. Community Emergency Response Teams are an example of:
Weegy: 23 * 23 = 529 User: 24. The Unified Coordination Group:
1/20/2023 12:21:56 AM| 4 Answers
Good
Weegy: Good definition is a favorable character or tendency. User: Moccasins, , we’re commonly worn by ...
1/23/2023 7:53:19 PM| 4 Answers
What was one of President Lincoln's major frustrations early in the ...
Weegy: Lack of aggressive military leadership was one of President Lincoln's major frustrations early in the Civil ...
1/24/2023 9:08:44 AM| 4 Answers
What book recorded abuses in the meatpacking industry
Weegy: The book "The Jungle" exposed the abuses in the meatpacking industry. User: Concerns over the Spanish ...
1/24/2023 12:44:09 PM| 4 Answers
Sympathy drives disconnection, and empathy drives connection. Which ...
Weegy: Feel sorrow or sadness for the other person- is NOT one of the four qualities of engaging with empathy. User: ...
1/26/2023 4:28:59 AM| 4 Answers
S
L
Points 2512 [Total 3302] Ratings 1 Comments 2492 Invitations 1 Offline
S
L
P
L
Points 1813 [Total 5437] Ratings 0 Comments 1753 Invitations 6 Offline
S
L
P
R
R
Points 1220 [Total 2933] Ratings 6 Comments 1120 Invitations 4 Offline
S
L
Points 910 [Total 910] Ratings 9 Comments 800 Invitations 2 Offline
S
L
Points 594 [Total 1987] Ratings 7 Comments 484 Invitations 4 Offline
S
L
P
R
Points 531 [Total 3821] Ratings 3 Comments 501 Invitations 0 Offline
S
L
Points 522 [Total 580] Ratings 0 Comments 522 Invitations 0 Offline
S
L
Points 459 [Total 1988] Ratings 9 Comments 349 Invitations 2 Offline
S
L
Points 389 [Total 1450] Ratings 2 Comments 339 Invitations 3 Offline
S
L
Points 358 [Total 358] Ratings 1 Comments 338 Invitations 1 Offline
* Excludes moderators and previous
winners (Include)
Home | Contact | Blog | About | Terms | Privacy | © Purple Inc.