1/24
Flashcards covering basic HTML tags, CSS styling properties, selectors, best practices, and common web development concepts based on the provided lecture notes.
Name | Mastery | Learn | Test | Matching | Spaced |
|---|
No study sessions yet.
HTML tag for bold text
<b></b> |
CSS Class
A family of styling specifications in CSS given a common name.
Common Web Image Formats
gif, jpg, png
Disadvantages of Inline CSS
Code gets messy, inconsistent styling, repetition of styles.
CSS Styling Capabilities
Color, layout, and font.
External CSS Use
A single CSS stylesheet can be used to style multiple web pages.
CSS File Editing
CSS files are plain text files and should not be edited with word processors like Microsoft Word.
Roles of HTML and CSS
HTML provides webpage structure, CSS provides visual layout and style.
CSS Color Options
CSS offers more than 64 color options.
CSS Acronym
Cascading Style Sheets.
Best Practice for CSS Placement
It is not a best practice to mix CSS style tags inline with HTML; external stylesheets are preferred.
CSS Rule Set Delimiters
{ } (curly braces).
CSS 'color' property
Changes the text color of an element.
CSS 'background-color' for 'body'
Changes the background color of the entire page.
CSS Targeting 'p' elements
Changes the font size for all paragraph elements.
CSS Selector for ID
Modern Web Font Usage
Modern websites are not limited to system-loaded fonts.
Google Fonts Integration
Fonts from Google Fonts can be used by embedding them in a webpage.
Creating Columns with Divs and CSS
Styles can be applied to <div> tags to create columns.
Creating Unique Sections with Divs
Use an id attribute on a <div> tag to create and style unique sections on a page.
CSS Border Properties
border-style, border-width, and border-color.
CSS Border Placement
The border property can be used to place borders on individual sides of an HTML element, not just all four.
CSS 'box-shadow' for 'img'
Creates a grey shadow effect around images.
Image Aspect Ratio
Modern browsers typically maintain an image's aspect ratio even if only one dimension (width or height) is specified, preventing distortion.
Image File Storage
Image files do not necessarily have to be stored in their own folder, but it is often a good organizational practice.