How to Define a CSS Class Style

CSS styles define styles for different sections of your web pages, including links, tables, and div sections. You can define a CSS class style to make it easier to add different fonts and backgrounds to pages on your website.

Instructions

    • 1

      Open your html document. Move your mouse to the "head" section. Create a tag called "".

    • 7

      Move to the "Body" section of the file. Place the style name within a table cell tag or a DIV tag. Follow this with the text that you want to show with the class properties.

Tips & Warnings

  • Instead of including styles in the head section, you can create a style sheet to define style for all pages in your website.

Related Searches:

Resources

Comments

You May Also Like

  • How to Define an Arial Font in CSS

    If you post on your own blog or website, you may want to change certain elements of the format. While there are...

  • Styles of RV Dinettes

    Class B motor homes are the smallest, built usually on a van chassis. Dinettes in these are almost always placed across the...

  • How to Style a Link with CSS

    Web page hyperlinks have many properties you can style. You can change color, underlining, background and many other aspects of appearance with...

  • Definition of Font Color CSS

    CSS or cascading style sheets are tools Web designers use to create Web pages. CSS is scripting code that can be used...

  • Define Web Authoring

    A part of HTML 4.0 specifications, Cascading Style Sheets (CSS) let you define a style that you can apply to all elements...

  • How to Create a CSS Calendar

    Calendars are often used for selecting dates for appointments, airline flights, hotel availability and when to send e-cards. Usually you see calendars...

  • How to Use CSS Classes and IDs

    Proper use of CSS IDs and classes can save you time in maintaining your style sheets, save your users time when they...

  • How to Set a Font Color in CSS

    CSS stands for Cascading Style Sheets. Web developers use CSS to separate the structure of their HTML code from its presentation. Your...

  • Definition of RV Classes

    There are various types of recreational vehicles (RVs) made for camping. Some models are suitable for short camping trips, while others provide...

Related Ads

Featured