Save
freeCodeCamp
HTML for Beginners freeCodeCamp
Save
Share
Learn
Content
Leaderboard
Share
Learn
Created by
Michael Angelo Cantara
Visit profile
Cards (500)
What does HTML stand for?
Hypertext Markup Language
View source
What is the primary function of HTML?
Defines meaning and structure of
web content
View source
What does hypertext refer to in HTML?
Links
connecting web pages
View source
What is the first tool needed to create a web page?
A
web browser
View source
Which web browser does Dave Gray recommend for the tutorials?
Google Chrome
View source
Where can you download Google Chrome?
google.com/chrome
View source
What does the Dark New Tab extension do?
Changes
new tab to dark mode
View source
What is the preferred code editor mentioned?
Visual Studio Code
View source
Where can you download Visual Studio Code?
code.visualstudio.com
View source
What file name is expected to launch a website?
index.html
View source
What naming convention should be followed for HTML files?
Lowercase
, no spaces
View source
What are the two main areas of an HTML page?
Head
and
body
View source
What tag is used to create the head section?
head
View source
What is placed inside the head section?
Metadata
about the page
View source
What tag is used to create the
body
section?
body
View source
What is the purpose of the title element?
Defines the
title
of the
web
page
View source
What is the traditional first text in programming?
Hello world
View source
What does the paragraph element start and end with?
The
letter
p
View source
What is the shortcut to save a document in Visual Studio Code?
Control + S
View source
What does the Prettier extension do?
Formats
code
automatically
View source
What is the purpose of the live server extension?
Helps view
web pages
live
View source
How do you open a web page with live server?
Right-click
and select open with live server
View source
What does the W3C markup validation service do?
Checks for
errors
in HTML code
View source
What does W3C stand for?
World Wide Web Consortium
View source
What is the first step to validate a web page?
Click
file
upload
View source
What file do you upload to validate your HTML?
index.html
View source
What are the main components of an HTML document structure?
HTML element
Head element
Body element
Title element
Metadata
View source
What are the steps to create a basic HTML page?
Open
Visual Studio Code
Create a new folder
Create an index.html file
Add HTML,
head
, and
body
tags
Insert title and content
Save and view with
live server
View source
What are the optional extensions mentioned for Visual Studio Code?
Prettier
(code formatter)
VS Code Icons
(file icons)
GitHub Theme
(dark mode)
View source
What is the significance of using a development server?
Allows
live viewing
of changes
Prevents errors from
direct file opening
Creates a
local server environment
View source
What service is used to validate web pages?
W3C
markup
validation service
View source
How do you check a web page for errors?
By using the
W3C
validation service
View source
What should you do if your web page is on your computer?
Click
file upload
to check it
View source
What is the first warning from the validation service?
Add a
lang attribute
to the HTML tag
View source
What value should the lang attribute be set to for English?
en
View source
What does the character encoding specify?
How characters are represented in the
document
View source
What character set is commonly used in web pages?
UTF-8
View source
What is a doc type declaration?
A declaration that specifies the
HTML
version
View source
Where should the doc type declaration be placed?
At the very top of the
HTML
file
View source
What does the validation service indicate after checking the page?
No
errors
or warnings
View source
See all 500 cards