Mapa mental
CSS
Conteúdo do mapa
CSS
CSS Stands for Cascading Style Sheet
- It describes how HTML Elements are to be displayed on screen.
- Can control the layout of multiple web pages all at once.
- External Stylesheets are stored in CSS Files
A CSS rule set consists of a selector and a declaration block.
- h1 {color:blue; font-size:12px;} Property^ Value^
- The element selector selects elements based on the element name.
- If you have elements with the same style definitions, you can group the selectors, to minimize the code.
- The ID Selector uses the ID attribute of an HTML element to select a specific element.
- An ID Should be unique within a page, so the ID selector is used if you want to select a single, unique element.
- The Class Selector selects elements with a specific class attribute.
Style Sheets
- Internal Style Sheet
- An internal style sheet may be used if one single page has a unique identifier.
- Internal styles are defined within the <style> element, inside the head section of an HTML page.
- External Style Sheets
- Each page must include a reference to the external style sheet inside the <link> element.
- An external style sheet can be written in any text editor. The file should not contain any HTML tags. The style sheet must be saved with a .css extension.
- Each page must include a reference to the external style sheet inside the <link> element.
- Inline Style Sheet
- An inline style may be used to apply a unique style for a single element
- Internal Style Sheet
Informações
- Descrição
- A level Computing (Unit 1) Mapa Mental sobre CSS, criado por Jack Gudgeon em 11-05-2017.
- Criado por
- Jack Gudgeon
- Visualizações
- 0
- Avaliação