mode 2 HTML/CSS/BOOTSTRAP Flashcards

1
Q

What is CSS

A

CSS stands for Cascading Style Sheets -

it is a language for styling HTML documents by specifying certain rules for layout and display in key/value pairs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a style sheet?

A

Style Sheets are a simple and powerful method of allowing attachment of rendering information to HTML documents

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the CSS Box Model

A

The CSS box model used to determine how our web page is rendered by browser.

Every box has 4 parts - margin, border, padding and content.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Types of CSS

A

There are three types of CSS which are given below:

Inline CSS: Inline CSS contains the CSS property in the body section attached with element. It is specified within an HTML tag using style attribute.

Internal or Embedded CSS: can be used when a single HTML document must be styled uniquely. It should be within the HTML file in the head section.

External CSS: External CSS contains separate CSS file which contains only style property with the help of tag attributes. CSS property written to .css should be linked to the HTML document using link tag.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Types of CSS Properties

A

Border, Padding, Margin, display, position, color,and text-align.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the Element Selector, Class Selector, ID Selector

A

Element Selector
The element selector selects HTML elements by their name / tag name like a, h1, div, p etc.

Class Selector
The class selector is a name preceded by a period (“.”). It uses the class attribute of an HTML element to match the specific HTML element.

ID Selector
In the CSS, the ID selector is a name preceded by a hash character (“#”). The id of an element should be unique within a page, so the id selector is used to select one unique element.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are CSS Selectors

A

CSS Selectors
CSS selectors are used for selecting the content/text you want to style in our site.

Element Selector, Id Selector, Class Selector, Universal Selector, Attribute selectors, Grouping Selector, Child and descendent selectors, General and adjacent sibling selectors, Pseudo-element and pseudo-class selectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Responsive Web Design Overview

A

It is the approach that allows websites and pages to render (or display) on all devices and screen sizes by automatically adapting to the screen, whether it’s a desktop, laptop, tablet, or smartphone.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is Bootstrap?

A

Bootstrap is an open-source framework and mobile-first approach for developing responsive websites.

It is a front-end framework programmed to support both HTML5 and CSS3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What Bootstrap grid systems

A

Bootstrap grid system consists of series of containers, rows, and columns to layout and align content. It creates a responsive layout and built with grid and flexboxes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are Combinators?

A

They are COMPLEX SELECTORS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Types of Combinators

A
/*
    this specific example selects everything
    you can use this to create initial conditions for every element
*/
* {

}

/* this specific example select any h4 element that is a descendent of a div tag
could be a child, grandchild, greatgrandchild, etc */
div h4{
text-align: center;
color: magenta;
}

/* this specific example selects any h4 element that is a child of a div tag (immediate child)*/
div>h4{
    color: orange;
}
/* this specific example select ANY child of a div tag */
div>*{

}

/* select any h3 tag that has "combstuff" as one of its classes */
h3.combstuff{
    text-align: center;
}
How well did you know this?
1
Not at all
2
3
4
5
Perfectly