Basics of HTML

  1. Terms and Definitions
  2. Principles of WEB 2.0
  3. The structure of the HTML-document
  4. Main metatags
  5. Formatting Text HTML
  6. Lists html-page
  7. Text fixed format
  8. Selected text html-page
  9. Change font options
  10. Graphics html-page
  11. Tables html-page
  12. Hyperlinks
  14. Frames


  1. What is CSS
  2. CSS syntax
  3. Style classes
  4. Combined styles
  5. CSS table
  6. CSS cascading rules
  7. Recommendations applying styles
  8. Font options
  9. Line breaks, vertical alignment
  10. Background settings
  11. Parameters of the paragraph
  12. List options
  13. The parameters of the cursor
  14. Options indentation
  15. Parameters frame
  16. Parameters selection
  17. Display options
  18. Containers


Recommendations for use of CSS styles

Novice is difficult to get used immediately in a variety of different styles of CSS - a style and when to apply. To make things easier, acquaint the reader with the general recommendations for the use of styles CSS.

First, we should highlight the design rules that will apply to the throughout the site and its individual elements, to determine the general form of a website: the font, paragraph, header, background color, text alignment, size of the indentation, etc. .d. Developed rules are converted to common styles (most of this override tags) are placed in an external style sheet. This style sheet is called the global and applies to all html-pages of the site.

After that defines the rules of registration individual elements html-pages (most of the style is combined classes and styles): the font settings of individual paragraphs, fragments thereof, the parameters of hyperlinks and other elements. These rules should be complementary to the global, but not to block them completely to avoid "burdening" the size of CSS-style sheet code. If the style was very much, they can be made into a separate table, which will be attached only to the html-pages, where it will be needed.

The third step is to define the rules that apply only to the one element html-pages (usually the named styles) Options navigation bars, site header, various containers, which determine the design of the site. These rules are made by analogy with the rules of registration of individual elements of html-pages.

At the last stage, the rules that apply to the limited number of elements , which are found in separate html-pages. At this stage, it is described very specific styles that are placed in a global table or the secondary stylesheet.

Internal style sheets are not recommended because they do not meet the concept of Web 2.0 .