Karteikarten
HTML and CSS
Karten in diesem Stapel (35)
- 1HTML stands forHyperTextMarkup Language
- 2HTML tagsElements in a Web page are marked with HTML tags
- 3Three types of HTML tagsTwo-sided: opening and closing tags
One-sided: empty tag, no content
HTML comments - 4Attributes and values modifythe behavior of a tag
- 5HTML white spaces: blank space, tab, line feedAll are treated as a single blank space
- 6Background colorHello World
- 7Text colorHello World
- 8Border colorHello World
- 9href:hypertext reference
- 10url:local file path or URL address of the link destination
- 11Link text/image:the text or image that appears on the link
- 12The tagA generic block element.
- 13The tagA generic inline element.
- 14When a cell spans several rows or columns, the number of cells ( tags)needs to be adjusted accordingly.
- 15Anatomy of CSS rules:selector and style declaration
- 16Three ways to use styles:inline, embedded, and external
- 17style for a single tag:inline-style
Within an HTML tag - 18Style for a single page:internal (embedded) style
within the HTML head section - 19within the HTML head sectionexternal (linked) style sheet
A separate CSS file linked to or imported within the HTML head - 20Inline styles added toindividual tags
- 21Embedded StylesUsed to add styles to a Web page
- 22External Style SheetsSeparate files containing ONLY style rules.
- 23When styles conflict, how does a browser determine what takes precedence?External style sheet
Embedded styles
Inline styles - 24An IDmust be unique and can only be used once in a given Web page
- 25A classcan be used multiple times with different tags.
- 26Use IDswhen there is only one occurrence per page
- 27Use classeswhen there are one or more occurrences
- 28Link:the link has not been visited.
- 29Visited:the link has been visited
- 30Hover:the mouse pointer is hovering over the link.
- 31Active:the link is in the process of being activated
- 32in the box model, an element consists of thecontent, paddings, borders, and margins.
- 33Four marginstop, bottom, left, and right margins
- 34Four borders:top, bottom, right, and left borders.
- 35Combine three attributes into a single declaration:border-position: border-width border-style border-color
Informationen
- Beschreibung
- Karteikarten am HTML and CSS, erstellt von Harold Barrera am 11/09/2019.
- Erstellt von
- Harold Barrera
- Aufrufe
- 1
- Bewertung