intro to internet web design

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/26

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

27 Terms

1
New cards

What is the function of the div tag?

  1. To define a section of an HTML page

  2. To group a block of elements together to format them with CSS

  3. To efficiently apply the same style to several different elements

2
New cards

Which of the following correctly uses div to style multiple elements the same way?

<div class="intro">
     <h2>Welcome</h2>
     <p>Hi, welcome to my page.</p>
</div>What are IFrames?

3
New cards

What are IFrames?

HTML elements and pages embedded inside of other HTML pages

4
New cards

True or False: It is possible to embed any website inside IFrames.

False

5
New cards

Assume you have two files for your website, and these files exist in the same folder:

home.html
style.css

HTML

Which of the following is the proper way to apply the CSS code inside style.css to the home.html file?

Inside home.html:

<head>
    <link rel="stylesheet" type="text/css" href="style.css">
</head>

HTML

6
New cards

Question: 2

Assume you have two files for your website, and these files exist in the same folder:

index.html
about.html

HTML

Which of the following is the proper way to link to the about.html page from the index.html page?

<a href="about.html">About This Site</a>

7
New cards

Who creates the look and feel of a website?

  1. A web designer

8
New cards

Who writes the HTML and CSS that brings the site to life?

A web developer

9
New cards

Who thinks about the best way to display information on the site?

A web designer

10
New cards

True or False: The majority of emails are spam emails.

true

11
New cards

Question: 2

Which of the following is related to the issue of censorship on the Internet?

A government filtering search results to limit the access of information and suppress discussion amongst its citizens

12
New cards

Which of the following is the proper format for an HTML tag?

<h1>Content Affected by Tag</h1>

13
New cards

Which of the following best describes the difference between the domain and path of a URL?

The domain specifies where the browser’s request should be sent.

The path specifies exactly what file is being requested.

14
New cards

What is the domain of this URL:

www.example.com/home.html

15
New cards

What is generated from the following HTML code:

<h1>Hello</h1>
<h3>Hello</h3>
<h6>Hello</h6>

<p></p><p></p>
16
New cards

Which of the following classifies as metadata about a webpage?

The title of the webpage

17
New cards

An image is hosted at

https://upload.wikimedia.org/wikipedia/commons/6/62/Big_and_little_dog.jpg

Which of the following is the proper HTML code to display this image on your webpage?


<img src="https://upload.wikimedia.org/wikipedia/commons/6/62/Big_and_little_dog.jpg">

18
New cards

What is the result of the following HTML code

    1. Bread

    2. Milk

    3. Eggs

19
New cards

Suppose you are making a music streaming website and you want to make a page that displays a user’s music library.

Which of the following is the proper HTML code to create the following table:


  1. Correct Answer

    <table border="1">
        <tr>
            <th>Title</th>
            <th>Artist</th>
            <th>Length</th>
        </tr>
        <tr>
            <td>CD Jam</td>
            <td>Rooney Pitchford</td>
            <td>3:55</td>
        </tr>
        <tr>
            <td>Memory</td>
            <td>Tom Misch</td>
            <td>5:41</td>
        </tr>
    </table>

20
New cards

Suppose you have written a web page using HTML and it is hosted at the URL yourdomain.com/home.html

Which of the following statements is true about which devices can view your website?

Any browser on any device will be able to view your webpage, because all browsers and devices on the Internet agree to use the same protocols for sending, receiving, and viewing webpages.

21
New cards

Which of the following is a valid CSS rule?

h1 {
    color: blue;
}

22
New cards

CSS rules have a selector that defines which HTML elements the rule applies to.

We’ve learned about the following CSS Selectors:

  • Select by tag name

  • Select by class name

  • Select by id name

Which of the following ranks the selectors from highest precedence to lowest precedence?


  1. Correct Answer

    Select by id name, select by class name, select by tag name

23
New cards

Which of the following statements are true about styling your web pages with CSS:

I. Styling with CSS is more scalable than using style= on each HTML tag that you want to style
II. You can change HTML tag style attributes with CSS files that are also possible using inline style= on an HTML tag


  1. Correct Answer

    I and II

24
New cards

Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels?

img {
    height: 200px;
}

25
New cards

Suppose you have the following CSS rules:

p { } .fire { } #title { }

What font color will the following HTML element have after being styled by the given CSS:

<h1 class="fire">Welcome!</h1>

red

26
New cards

Suppose you have the following CSS rules:

p {
    
}

.fire {
    
}

#title {
    
}

What font color will the following HTML element have after being styled by the given CSS:

<p class="title">My First Paragraph</p>

green

27
New cards

Suppose you have the following CSS rules:

p {
    
}

.fire {
    
}

#title {
    
}

What font color will the following HTML element have after being styled by the given CSS:

<p class="fire" id="title">Hello World!</p>

blue