HTML5 introduces many new elements that are used to separate a webpage into different sections.
HTML5 introduces many new elements that are used to separate a webpage into different sections.
Each element in HTML is considered a box. For example,
,
http://htmltutor.org/index.php/css-tutorial-lesson-22-the-concept-of-box-in-css/
In a webpage, links are usually shown in blue colour with an underline by most browsers. However, we can create styles for the links using CSS. Basically we can use the anchor pseudo-classes to customise the link styles.
We can create drop cap for a paragraph in CSS using the pseudo element first-letter. A drop cap is a large capital letter at the beginning of a paragraph. Besides,we can also create CSS styles for the first line of a paragraph using the pseudo element first-line.
We can manipulate text spacing using the line-height, letter-spacing and word-spacing properties. Line-height is to specify space between lines, letter-spacing is to specify space between letters and word-spacing is to specify spacing between words.