Module 4 Flashcards

1
Q

Give an example to change the color font in HTML.

A

<p><font>Green text.</font></p>

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

What attributes can be used in the font tag to change the font and size?

A

face and size attribute.

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

What the tags <b>, <i> do?</i></b>

A

Makes text bold, italic, and undelined.

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

What are the seven main components to any web browser?

A
  1. User Interface
  2. Browser Engine
  3. Rendering Engine
  4. JavaScript Interpreter
  5. Networking
  6. Data Persistence
  7. UI Backend
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Browser engine?

A

The part of the browser responsible for organizing actions between the UI and Rendering Engine.

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

What the Rendering Engine does in a browser?

A

It intreprets HTML code visually.

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

What is the JavaScript Interpreter in a browser?

A

A program that takes the JavaScript code, parses it, executes it, and returns the results.

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

What is Data Persistence in a browser?

A

The cached files and cookies.

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

What is UI Backend in a browser?

A

The interaction of the browser with the operation system to display several elements of the page, like drop down boxes and some icons on the window (close, maximize, and minimize buttons).

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

What main component of the browser is responsible for creating a DOM?

A

The Rendering Engine.

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

Give an example of the <style> tag</style>

A

<style>

    p {color:red;}
</style>
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What the <div> tag does?

A

Define a division or a section in an HTML document.

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

How the <div> tag can stylize its content?

A

Using the style attribute.

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

How is called a tag inside another?

A

Nested tag.

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

What is a Style Sheet?

A

A central place to store data about how a page will appear and how it will behave.

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

What does CSS stand for?

  1. Cascading styling sheets
  2. Cascade styling sheets
  3. Cascading Style Sheets
  4. Cascade Style Sheets
A
  1. Cascading Style Sheets
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What are the three itens necessary to style in CSS?

A

Selector, property and value.

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

What is the Selector in CSS?

A

Something that points to a HTML element you wish to style.

19
Q

What is the Property in CSS?

A

A name, and identifier.

20
Q

What is the value in CSS?

A

A description of how the elment is to be handled.

21
Q

What is the CSS Rule-Set

A

Is a block of CSS code that contains a Selector and a Declaration, where the declaration is the property + value that goes inside the curly braces.

22
Q

What tag is used to import a Style Sheet to a HTML document?

A

the <link></link> tag.

23
Q

Which attributes are used in the <link></link> tag?

A

rel, type and href.

24
Q

What the rel attribute does in the <link></link> tag?

A

It specifies a relation between two documents.

25
Q

What is the User Interface in the browser?

A

Everything in the browser window that allow the user to interact with the browser. The display of the requested page is not part of the User Interface of the browser.

26
Q

What is Networking in a browser.

A

A function of the browser that deals with encryption, requests, and all network settings suchs as HTTP.

27
Q

What is the value given to the type attribute when linking to a Style Sheet?

A

“text/css”

27
Q

What is the value given to the rel attribute when linking to a Style Sheet?

A

“stylesheet”.

27
Q

What the type attribute does in the <link></link> tag?

A

Tells the browser what kind of resource are been linked.

27
Q

What is what in p { color: blue;}

A

p is the selector
color is the property
blue is the value

28
Q

For what the class attribute is used for?

A

Define equal style for all elements with the same class name.

28
Q

How can you assign a class name in CSS?

A

. + the class name + Declaration.

Ex:
.someClass
{
background-color: black;
color: yellow;
font-size: large;
}

28
Q

How an HTML comment starts and finishes?

A

It starts with <!--
and finishes with -->

28
Q

How can comments be written in CSS?

A

/* the comment */

29
Q

Give an example of a simple table in HTML.

A

<table>
<tr>
<th>Name</th>
<th>Phone Number</th>
<th>Email</th>
<th>Notes</th>
</tr>
<tr>
<td>Rodrigo</td>
<td>12234</td>
<td>rodrigo@gmail.com</td>
<td>a comment</td>
</tr>
<tr>
<td>Adriano</td>
<td>4321</td>
<td>adriano@gmail.com</td>
<td>another comment</td>
</tr>
</table>

30
Q

What tr, th, and td stands for?

A

Table row, table header, and table data.

31
Q

Give an example of an ordered list.

A

<ol>
<li>Bread</li>
<li>Milk</li>
<li>Eggs</li>
<li>Cheese</li>
</ol>

32
Q

Give an example of an unordered list.

A

<ul>
<li>Dogs</li>
<li>Cats</li>
<li>Ducks</li>
<li>Birds</li>
</ul>

33
Q

What tag is this <br></br>

A

Line breaker.

34
Q

What inline means in html?

A

Code contained within the webpage, opposed to code kept in an external file.

35
Q

What the <span> tag does</span>

A

Connects inline elements and provides a way to connect text.

36
Q

Which of the following is used in CSS to point to the HTML element you wish to style?

Value
Property
Variable
Selector

A

Selector

37
Q

True or False: At a high-level, “render” means “to display a web page.”

A

True

38
Q

Which element is often used as a container for other HTML elements to style them or make specific changes to the content within that particular element?

nav
head
div
footer

A

div