What is 1110 in decimal?
14
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.
True or False: Every HTML element can have attributes
True
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>
True or False: <ul> creates an ordered list
False
True or False: Every number ending with 1 in binary is odd
True.
How many levels of header elements are there?
Answer: 6. The header elements go from <h1> to <h6>
What HTML element is used for hyperlinks?
<a></a> (anchor element)
What does CSS stand for?
Cascading Style Sheets
What is the largest header element?
<h1>
What is 100 in binary?
1100100
What does HTML stand for?
What is the tag used for images and what are the two important attributes for image elements?
<img src=“” alt=“”>
What are the three ways CSS can be added to HTML?
Inline: style attribute
Internal: Using <style> element in head
External: Using <link> element
What color is rgb(255,0,0)?
Red
How many bits are in a byte?
8
How do you write HTML comments?
<!-- Comment →
What are 4 tags used for a table?
table, th, tr, td
What CSS property controls text size?
font-size
Why is the alt attribute important?
The alt attribute displays text in case the image does not load and helps with accessibility features.
What does 0 and 1 represent for computers?
0 represents off and 1 represents on
What are the 5 essential tags in a .html file?
DOCTYPE, html, head, title, and body
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
How to access a class using CSS?
.className {
color: #000000;
}
How to make the link open in a new tab?
Add target=”_blank”