STUDY GUIDE 2026 QUESTIONS WITH 100%
CORRECT ANSWERS VERIFIED
• what is the <body> tag Answer; defines the document body, the visible
content
• What is the <h1> tag Answer; element that defines a heading, goes
from h1 to h6 in size
• what is the <p> tag Answer; defines a paragraph, all text within the
element is printed on 1 line
• What is the <head> tag Answer; contains meta information information
about the document
• What is the <title> tag Answer; specifies title for the document
• What is an HTML attribute and how do you use them Answer; provide
additional information about an element
,specified in the start tag in name/value pairs like name="value"
• What is the <br> tag Answer; specifies a line break.
Note this is an empty tag so doesn't need to be closed
• what is special about the <img> tag Answer; it is an empty tag so
doesn't need to be closed
• What is the <pre> tag Answer; used for printing text however unlike a
<p> tag it retains formatting i.e. new lines and spaces
• How do you specify style directly from HTML Answer; you can use a
<style> tag and write CSS inside the element
Alternatively you can set it using attributes within the given HTML
element e.g. style = "property:value;"
• How do you format text within HTML Answer;
• How do you define a table in HTML Answer; the <table> tag defines
the whole element
,<tr> defines table rows
within each row define <td> elements which are the table data
• How do you create unordered and ordered lists in HTML Answer; <ul>
defines an unordered list
<ol> defines an ordered list
Each element within the list has the <li> tag
• What are block level elements, give an example Answer; - Begin a new
line
- Extend to the full width of its parent element
- e.g. <div>
• What are inline elements, give an example Answer; - Can begin within
a line
- doesn't start a new line
It's width only extends as far as it is defined by its tag
- e.g. <span>
• What is a <div> tag Answer; Used as a container that groups related
items together
, • What information is held within the <meta> tag in the <head> element
Answer;
• How do you use HTML forms Answer; The whole form is within the
<form> element
<input> elements sit within the form element
the form should have a <input type="submit"> element which is a button
which submits the form when the user completes it
• List the main input types Answer; text, password, reset, radio,
checkbox, color, email, date
• What is a select element in a form Answer; It is a drop-down list,
you specify options within the drop down using the <option> tag
• What is the <textarea> tag Answer; defines a mutli-line input field e.g.
a comment field