Академический Документы
Профессиональный Документы
Культура Документы
You can use: <b> to make a text bold, <strong> to make a text strong, <i> to
make italic text, <em> to make emphasized text
Bold is visually the same as strong, so is italic and emhpasized, but the difference
is in the meaning strong and emhpasized mean that the content is important.
<small> is used to make content smaller than the content around
<makred> is used to higlight the text
<del> is used for deleted text (word)
<ins> is used for inserted text (word)
<sub> is used for subscripted text (word)
<sup> is used for superscripted text (word)
We use element <q> to write quoted text because you cant use
<kbd> element defines the keyboard input (output is the same as the input)
You can add comments to the HTML source by using the following syntax: <!-Comments -->
Styling can be added to HTML elements in 3 ways:
Inline - using a style attribute in HTML elements
Internal - using a <style> element in the HTML <head> section
External - using one or more external CSS files
CSS styling has the following syntax: element { property:value;
property:value }
Inline style uses the style atribute: style="property:value"
Internal styling is defined in the <head> section of an HTML page, using
a <style> element:
External styles are defined in an external CSS file, and then linked to in
the <head> section of an HTML page: <link rel="stylesheet" href="styles.css">
border: px color defines the visable border around an HTML element
padding: px defines a padding inside the border
margin: px defines the space outside the border
To define a special style for one special element, first add an id attribute to the
element: id="name"
then define a different style for the (identified) element: #name { ... }
To define a style for a special type (class) of elements, add a class attribute to the