What is the name of a basic HTML element?
Tag
What HTML tag is used to create a paragraph?
What is the main purpose of CSS?
Styling (e.g. color, font face/style, positioning)
Which heading will produce a smaller font size, h1 or h6?
h6
What is the difference between an id and a class?
You can only use an id once but you can use the same class in multiple elements.
What symbol do you use in CSS to reference a class?
Period .
Which tags would you use to create an ordered list?
<ol></ol>
What is the file extension for an HTML document?
.html
What is the difference between an HTML opening tag and a closing tag?
Closing tag has a '/'
What tag is used to create a table?
<table></table>
What character/symbol goes at the end of every CSS declaration?
Ex.
body {background-color: red____}
Semi-colon (;)
Which HTML tags would you use to bold text?
<strong></strong>
What does the alt attribute in an <img> tag important for?
Provide a textual description of the image for visually impaired people or in case the image doesn’t properly load.
What tags should always open and close an HTML document?
<html></html>
Name the two possible tags used to create a list and what type of lists those create.
<ul></ul> for an Unordered list
<ol></ol> for an Ordered list
The background color of a whole page can be changed by editing this CSS selector.
Body
When specifying a font-family, you should always include...
A back-up generic font such as sans-serif or monospace.
What HTML tags are used to denote an element in a list?
<li></li>
<style></style>
This HTML tag allows you to group elements together into one block.
<div></div>
What symbol do you use in CSS to reference an id?
Which HTML tags do you use to italicise text?
<em></em>
Find the error in the code below:
<a website="https://google.com">Click here to go to Google</a>
It should say href= instead of website=