Binary
HTML Intro
More HTML
CSS
Surprise
100

What is 1110 in decimal?

14

100

True or False: Every HTML element must have two tags.

False. Ex: <br>

While most HTML elements have a beginning and end tag, some elements like <br> do NOT have two tags.

100

True or False: Every HTML element can have attributes

True

100

True or False: CSS MUST be in a separate .css file

False. CSS attributes can be embedded in side of HTML tags. Ex: <p style="color:blue"></p>

100

True or False: <ul> creates an ordered list

False

200

True or False: Every number ending with 1 in binary is odd

True.

200

How many levels of header elements are there?

Answer: 6. The header elements go from <h1> to <h6>

200

What HTML element is used for hyperlinks?


<a></a> (anchor element)

200

What does CSS stand for?

Cascading Style Sheets

200

What is the largest header element?

<h1>

300

What is 100 in binary?

1100100

300

What does HTML stand for?

Hypertext Markup Language


300

What is the tag used for images and what are the two important attributes for image elements?

<img src=“” alt=“”>

300

What are the three ways CSS can be added to HTML?

Inline: style attribute

Internal: Using <style> element in head

External: Using <link> element

300

What color is rgb(255,0,0)?

Red

400

How many bits are in a byte?

8

400

How do you write HTML comments?

<!-- Comment →

400

What are 4 tags used for a table?

table, th, tr, td

400

What CSS property controls text size?


font-size

400

Why is the alt attribute important?

The alt attribute displays text in case the image does not load and helps with accessibility features.

500

What does 0 and 1 represent for computers?

0 represents off and 1 represents on

500

What are the 5 essential tags in a .html file?

DOCTYPE, html, head, title, and body

500

What is the difference between an id attribute and the class attribute?

“id” selectors are unique and can be applied to at max 1 HTML element

“class” selectors can be applied to multiple HTML elements

500

How to access a class using CSS?

.className {

     color: #000000;

}


500

How to make the link open in a new tab?

Add target=”_blank”

M
e
n
u