Guidelines for Creating Good HTML Code

Guidelines for Creating Good HTML Code

6th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

HTML Quiz 1 (10Q)

HTML Quiz 1 (10Q)

8th Grade

10 Qs

2.HTML Basics

2.HTML Basics

6th - 8th Grade

10 Qs

HTML structure

HTML structure

8th Grade

9 Qs

Code.org Unit 2 Lessons 3-5

Code.org Unit 2 Lessons 3-5

6th - 8th Grade

10 Qs

HTML Tags

HTML Tags

1st - 12th Grade

15 Qs

YR 8 - CSS - Lesson 2

YR 8 - CSS - Lesson 2

8th Grade

10 Qs

Web development Intro

Web development Intro

5th - 12th Grade

10 Qs

Year 6 - HTML Quiz

Year 6 - HTML Quiz

6th Grade

15 Qs

Guidelines for Creating Good HTML Code

Guidelines for Creating Good HTML Code

Assessment

Quiz

Computers

6th - 8th Grade

Hard

Created by

Rogevir Rivera

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Paula wrote <head> and <body> but forgot <html>. What should she do to correct her code?
Add <html> as the root element
Delete the <head> section
Replace <body> with <main>
Remove all tags and write plain text

2.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Miguel typed <p>Welcome to my page without closing the tag. What should Miguel do to fix it?
Add a closing tag: </p>
Use <h1> instead of <p>
Put the text outside the tags
Replace <p> with <div>

3.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Jessa wants her code neat and easy to read. What should she do?
Use indentation and spacing
Put all code on one line
Write all tags in capital letters
Add random comments in between

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Andre wrote <H1>HELLO</H1>. His teacher corrected him. What should Andre do?
Rewrite tags in lowercase: <h1>HELLO</h1>
Delete the heading
Keep uppercase tags because they look better
Replace it with <p>

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Liza wrote “Click here” for her link text. Her teacher asked her to make it more meaningful. What should she do?
Replace it with descriptive text like “Visit my portfolio”
Keep it as “Click here”
Use only the URL as the text
Remove the link completely

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Carlo used <div> for his main heading. How can he correct this?
Replace <div> with <h1>
Add more <div> tags
Change it to <p>
Leave it because <div> works

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Katrina placed all her content in one line without spaces or line breaks. What problem may this cause?
Other programmers may find the code hard to read and edit
The browser will not display any content
The links will not work
The page text will appear bold

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?