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
  13. IMAGEMAP
  14. Frames

CSS-based

  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


   

Parameters of the paragraph

text-align - horizontal alignment

The horizontal alignment of text in a paragraph is carried out using the style attribute text-align.

Values text-align:

text-indent - Indent the "red line"

The style attribute text-indent defines a paragraph indent the first line (does not support the value of the inherit ). The value can be specified in absolute or relative terms.

EXAMPLE:

P	{
	text-align: justify;
	text-indent: 10px
	}

TOP ↑