HTML/CSS Quiz

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

How do I select just the following HTML item in CSS? <span class="hello">good morning!</span? .hello {} #hello {} span {} "good morning" {}

.hello {}

How do you insert a comment in a CSS file? /* this is a comment */ ' this is a comment' // this is a comment // // this is a comment

/* this is a comment */

There are three types of CSS: Internal In-Line External Put them in read order priority. 1)In-line, 2)Internal, 3)External 1) External, 2)Internal, 3)In-line 1)Internal, 2)In-line, 3)External 1)External, 2)In-line, 3)Internal

1)In-line, 2)Internal, 3)External

In HTML how can you open a link in a new tab/browser window? <a href="url" target="_blank"> <a href="url" target="new"> <a href="url" new> <a href="url" target="page">

<a href="url" target="_blank">

Which tag contains all of the website's visible content? <body> <head> <title> <footer>

<body>

What is the correct HTML element for inserting a line break? <br> <hr> <break> <lb>

<br>

Which of the following HTML tags should contain all the primary navigational elements? header div footer section

<header>

Which of the following tags do not require a closing tag (multiple answers are correct)? <img> <br> <em> <p> <li>

<img> <br>

Which of the following tag must be inside of another tag within the <body> in order to function properly? <li> <ul> <ol> <html>

<li>

What is the correct HTML for referring to an external style sheet? <link rel="stylesheet" type="text/css" href="mystyle.css"> <style src="mystyle.css"> <stylesheet>mystyle.css</stylesheet> <link rel="stylesheet" type="text/css" src="mystyle.css">

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

Which of the following is an example of an inline-level element? <strong> <title> <li> <p>

<strong>

A list where the items in the list don't have a particular order should use which HTML tag? <ul> <ol> <list> <p>

<ul>

CSS stands for what? Cascading Style Sheet Cover Style Sheet Cascading Style Script Cover Style Script

Cascading Style Sheet

CSS code should be used inline within the HTML as much as possible. True False

False

The <font> tag in HTML is appropriate in contemporary web design and development. True False

False

The Internet was developed for commercial purposes. True False

False

The world wide web and the internet are the same thing. True False

False

A file such as "normalize.css" accomplishes what? Resets all visual elements to a pre-designed template from which the designer adds to Resets all visual elements to a standard baseline from which to build up Is where all your CSS code should reside Defines which language your code is written in

Resets all visual elements to a standard baseline from which to build up

How the web page ultimately looks is entirely up to which component of the process: The browser The server The developer The DNS

The browser

Who created the world wide web and HTML? Tim Berners-Lee Vannevar Bush Doug Engelbart Ted Nelson

Tim Berners-Lee

HTML pages are typically compiled by the browser in real time. True False

True

Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed? alt title longdesc src

alt

Which is the correct CSS syntax? {body;color:black;} body {color: black;} body {color=black;} {body:color=black;}

body {color: black;}

What does the <a> tag do? creates a link creates an underlined word creates an ampersand creates an italicized word

creates a link

How do you make the text bold? font-weight:bold; style:bold; font:bold; text-font:bold;

font-weight:bold;

What is the correct CSS syntax for making all the <p> elements bold? p {font-weight:bold;} <p style="font-size:bold;"> p {text-size:bold;} <p style="text-size:bold;">

p {font-weight:bold;}

How do you make a comment in an HTML document: <!-- this is a comment --> /* this is a comment*/ <#/ this is a comment /#> <//this is a comment//>

<!-- this is a comment -->

HTML has remained relatively unchanged in the decades since it was created. True False

False

HTML should contain code for visual appearance sprinkled throughout the document. True False

False

In most cases, the <bold> tag is appropriate for bolding content. True False

False


Kaugnay na mga set ng pag-aaral

Maternal Child Nursing Chapter 37 Impact of Cognitive and Sensory Impairment on the Child and Family

View Set

HIT 135 - ch 21-22, HIT 135 - 20, HIT 135 - CH 18-19, HIT 135- CH 16, 17, HIT 135 - ch 14-15, HIT 135 - CH 12-13 Lymphatic and Immune Systems /, HIT 135 - CH 10-11 : Cardio/ Hematology, HIT 135 CH 9, HIT 135 - 7,8, 9, HIT 135 - CH 6, HIT 135 - CH 5

View Set

Structure and function: muscle fiber type

View Set

Finance lecture 10 - cost of capital

View Set