Preview

html

Powerful Essays
Open Document
Open Document
626 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
html
FONT PROPERTIES
Property
font-family font-style font-variant

Values font name generic font normal italic oblique normal small-caps font-weight

normal bold bolder lighter 100-900

font-size

normal length length absolute absolute absolute absolute absolute absolute absolute relative relative percentage

CHANGE CASE

Example font-family:arial font-family:arial, helvetica font-style:normal font-style:italic font-style:oblique font-variant:normal font-variant:small-caps font-weight:normal font-weight:bold font-weight:bolder font-weight:lighter font-weight:250

font-size:normal font-size:14px font-size:14pt font-size:xx-small font-size:x-small font-size:small font-size:medium font-size:large font-size:x-large font-size:xx-large font-size:smaller font-size:larger font-size:75%

TEXT DECORATION

p.uppercase {text-transform:uppercase;}
p.lowercase {text-transform:lowercase;}
p.capitalize {text-transform:capitalize;}

This is some text.
This is some text.
This is some text.

h1 h2 h3 h4 {text-decoration:overline}
{text-decoration:line-through}
{text-decoration:underline}
{text-decoration:blink}

TEXT INDENT
50px
100px
1cm
10%
50%
p { text-indent:100px; }

[ HTML & CSS ] MR. ZERNIE R. PUGAO

1

BACKGROUND COLOR:

POSITION

h1
{
background-color:#6495ed;
}
p
{
background-color:#e0ffff;
}
div
{
background-color:#b0c4de;
}

left top left center left bottom right top right center right bottom center top center center center bottom

BACKGROUND IMAGE SIZE background-image:url('smiley.gif'); background-repeat:no-repeat; background-size:100% 100%;
100px 100px
75px 75px
10px 150px
200px
50%
100% 100% cover contain

CSS background-color example!

This is a text inside a div element.
This paragraph has its own background color.
We are still in the div element.

h1 {background-color:#6495ed;}
p

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Additions in Properties include border-radius, image-source, image-slice, and the values for width outset and stretch have been added in CSS3. It also features properties for managing boxes like shadowing, wrapping and breaking have been added. The best part of CSS3 is that it has done away with complex structures for div tag and makes it easy for hassle free designing of multiple table-less columns. This can be simply done by putting in the number of columns in the browser that need to be added in the body element along with their width, color and height to make the text flow through the columns with ease.…

    • 272 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Crusade DBQ 01 29 2014

    • 758 Words
    • 3 Pages

    h4 font-weight 400 font-style italic padding 0 0 15px 0 margin 0 0 30px 0 border-bottom 1px solid black…

    • 758 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    B062 Ict Crswrk

    • 1037 Words
    • 5 Pages

    I got this background from the themes which were included with Microsoft Office Publisher 2010.…

    • 1037 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Nt1310 Final Exam

    • 746 Words
    • 3 Pages

    The ____ code sets the style so that the Web page element remains constant and does not move.…

    • 746 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    b. Change the font color to Blue-Gray, Text 2 (4th Column, 1st row in the Theme Colors palette).…

    • 1197 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Griffith

    • 629 Words
    • 20 Pages

    { width:100%;line-height:100%;} #yiv6362660951 table td { border-collapse:collapse;} #yiv6362660951 table tr td { } #yiv6362660951 .yiv6362660951appleLinks a { color:#000001;text-decoration:none;} #yiv6362660951 .yiv6362660951appleLinksWhite a { color:#ffffff;text-decoration:none;} _filtered #yiv6362660951 { } _filtered #yiv6362660951 { margin:0 ! important;padding:0 ! important;overflow:visible;width:auto !…

    • 629 Words
    • 20 Pages
    Satisfactory Essays
  • Powerful Essays

    {Title} {block:Description}{/block:Description} ::-webkit-scrollbar {width: 3px; height:auto; background:{color:background}} ::-webkit-scrollbar-corner {padding:2px;background:{color:background}} ::-webkit-scrollbar-button:vertical {height:5px; display: block; background:{color:scrollbar}} ::-webkit-scrollbar-button:horizontal {width: 3px; height: 5px; display: block; background:{color:scrollbar}} ::-webkit-scrollbar-thumb:vertical {background:{color:scrollbar};} ::-webkit-scrollbar-thumb:horizontal {background: {color:background};} ::-webkit-scrollbar-thumb {background: {color:scrollbar};} body { background:{color:background}; font-family:arial; font-size:9px; letter-spacing:0px; color:{color:text}; line-height:120%;} a:link, a:active, a:visited{color: {color:link};} a:hover{color:{color:link}; text-decoration:underline;} a { color:{color:link}; text-decoration:none; -moz-transition-duration:0.4s; -webkit-transition-duration:0.4s; -o-transition-duration:0.4s; } a:hover { color:{color:link}; text-decoration:underline; -moz-transition-duration:0.4s; -webkit-transition-duration:0.4s; -o-transition-duration:0.4s; } #container { background-color:{color:background}; width:700px; margin: 0 auto -12px auto; text-align: center; } .links { margin-top:5px; word-spacing:1px; text-align:center; } .links a{ padding:5px; letter-spacing:0px; color:{color:link}; text-decoration:none; -moz-transition-duration:0.4s; -webkit-transition-duration:0.4s; -o-transition-duration:0.4s; } .links a:hover{ color:{color:link}; text-decoration:underline; -moz-transition-duration:0.4s; -webkit-transition-duration:0.4s; -o-transition-duration:0.4s; }…

    • 814 Words
    • 11 Pages
    Powerful Essays
  • Satisfactory Essays

    To change the paragraph shading, click Page Borders on the Page Layout tab, and then click the Shading tab. Select a new…

    • 575 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    The color of the background is dark green but not darker than the coat that the model is wearing. His backpack is black and gray. These colors are all dark except the color of the quote, which is white. The letters are in all caps and placed on the middle.…

    • 414 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Text

    • 562 Words
    • 3 Pages

    The main conflict of the story is resolved when--The handicap general takes Harrison to jail…

    • 562 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Web Browser

    • 463 Words
    • 2 Pages

    Browser detection – detect which version of browser user is using to adjust viewing settings…

    • 463 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Http

    • 1150 Words
    • 4 Pages

    COSTEA, B. and CRUMP, N., 1999. Introducing organisational behaviour: Issues in course design. Education & Training, 41(8), pp. 403-415.…

    • 1150 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Internet Development

    • 38231 Words
    • 153 Pages

    The Module has margin icons that show the student the objectives, activities, in-text questions, feedback, further reading, key words and terms, stop and reflex signs.…

    • 38231 Words
    • 153 Pages
    Powerful Essays
  • Good Essays

    Wordpress

    • 687 Words
    • 3 Pages

    A WordPress.org site has an infinite number of themes you can choose from. After choosing your theme, you can make necessary changes that you want to improve or make your theme better. No theme is permanent, you can activate any theme that fits you best. There is a Free Themes Directory that has different themes that you can also activate. When finding your theme, you can filter your search list based on color, columns, fixed or flexible width, and other features. WordPress.org allows you to preview it to. Whenever you want to make your own or make changes to existing themes you will need some extra files. You can also go to the edit themes in the admin or use notepad ++. A theme consists of a number of template files, all stored in the theme folder which we find in wp-content/themes. Every WordPress Theme has to include at least two files: index.php and style.css. The index file defines what content is displayed by the theme, and the style sheet contains information about the theme that WordPress uses to make the theme work correctly. Most themes have a few additional files: header.php (contains the sections of each page plus the header of the website’s design), sidebar.php (contains the sidebar, including any widget areas), footer.php (contains any functions that are specific to your theme. You can develop your own WordPress Theme by first creating a Child Theme. This is your style.css file. Create the following using comments: Theme name, Theme URI, Author, Author URI, description, Version, Tags and other comments. After the stylesheet is complete, your theme should show up blank in the admin panel under themes now you can activate it. Now it’s time to fill in the template files. The main file you will need to use is the index.php file. It can be used to include all references to the header, footer, sidebar, content, search, and any other page created in WordPress. Or, it can be divided into multiple template files each one…

    • 687 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    ICT - Website production

    • 613 Words
    • 3 Pages

    Include a strategy for effective visibility on search engines; specifically be on the first page of Google within 3 months.…

    • 613 Words
    • 3 Pages
    Satisfactory Essays

Related Topics