Markdown: lightweight markup for structure

Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.

Markdown: lightweight markup for structure

Name:
Date:
Class:

Quick Questions

Shade in the A or B circle for each question.

1. Which Markdown line creates a main heading?
A <h1> My School Blog
B # My School Blog
2. Which Markdown line creates a list item?
A # Pencil case
B - Pencil case
3. Which Markdown makes the word 'Due' bold (strong text)?
A **Due** Friday
B *Due* Friday
4. Which Markdown makes the word 'always' italic?
A Check *always* for typos
B Check **always** for typos
5. True or false: Markdown is plain text that can be converted into HTML later.
A True
B False

Match the Pairs

Draw a line connecting each item on the left to its match on the right.

Left columnRight column
1# My School Trip AStrong (bold) text in Markdown. It converts to a strong element in HTML.
2**Bring a hat** BThe bold text starts with two asterisks but ends with only one, so it is not closed properly. It should end with **.
3A list item in Markdown starts with a hyphen and a space C- Water bottle
4Markdown can mark italic (emphasised) text using single asterisks DA top-level heading in Markdown. It converts to an h1 element in HTML.
5#My Trip EThere is no space after the #, so many converters will not treat it as a heading. It should be # My Trip.
6**Bring a hat* FPlease *do not* run

Definitions

Markdown

Fill in the Blanks

Complete each line of code by filling in the missing parts.

1.
_ Our School Website
2.
_ Laptop - Tablet - Phone
3.
Study __hard** for the test
4.
Read the _notes* first
5.
Markdown: # Title HTML: <__>Title</h1>

Spot the Error

Shade in the letter of the line that contains an error.

Question 1
A # My Study Plan
B ##Monday
C - Maths homework
D - Read chapter 4
Question 2
A # Pet Care
B Dogs need exercise.
C - Walk them daily
D - Feed them **twice* a day
Question 3
A # Class Rules
B # Be on time
C - Listen to others
Question 4
A <ul>
B <li>Bring a mouse</li>
C <li>Bring a laptop<li>
D </ul>
Question 5
A <body>
B <h1>Space Facts</h2>
C <p>Mars is red.</p>
D </body>

Answer Key

Markdown: lightweight markup for structure
Section A: Quick Questions
Q1
B — # My School Blog
Q2
B — - Pencil case
Q3
A — **Due** Friday
Q4
A — Check *always* for typos
Q5
A — True
Section B: Match the Pairs
Q1
# My School Trip → A top-level heading in Markdown. It converts to an h1 element in HTML.
Q2
**Bring a hat** → Strong (bold) text in Markdown. It converts to a strong element in HTML.
Q3
A list item in Markdown starts with a hyphen and a space → - Water bottle
Q4
Markdown can mark italic (emphasised) text using single asterisks → Please *do not* run
Q5
#My Trip → There is no space after the #, so many converters will not treat it as a heading. It should be # My Trip.
Q6
**Bring a hat* → The bold text starts with two asterisks but ends with only one, so it is not closed properly. It should end with **.
Section C: Definitions
Q1
Markdown — A way to mark structure in plain text using symbols, like # for a heading, - for a list item and ** for bold. The text is later converted into HTML.
Section D: Fill in the Blanks
Q1
# Our School Website
Q2
- Laptop - Tablet - Phone
Q3
Study **hard** for the test
Q4
Read the *notes* first
Q5
Markdown: # Title HTML: <h1>Title</h1>
Section E: Spot the Error
Q1
B — In Markdown, the # symbols must be followed by a space to make a heading. It should be '## Monday'.
Q2
D — Bold text needs ** at both the start and the end. The closing marker only has one asterisk. It should be '**twice**'.
Q3
B — A # makes a heading, but this line should be a list item. It should start with '- ', giving '- Be on time'.
Q4
C — When Markdown list items are converted to HTML, each becomes <li>...</li>. The closing tag is missing its slash. It should be '</li>'.
Q5
B — The Markdown heading '# Space Facts' converts to an h1 element. The closing tag must match the opening tag, so it should be '</h1>'.