Aim of the puzzle: Edit the text in an HTML tag
Walk through of solution: In this puzzle, you’ll use HTML to change the text on a webpage.
HTML uses tags to create and structure HTML elements.
Tags are opened and closed. An opening tag uses angle brackets with the name of the tag, for example <h1>
. A closing tag has a forward slash after the first angle bracket.
For example, the following HTML code creates a large heading that says “Welcome”:
<h1>Welcome</h1>
In HTML, tags are nested inside other tags. The top-level tag that surrounds all of the HTML is the <html>
tag. Next, the <body>
tag surrounds with body, or the visible content, of a webpage.
To complete this puzzle, change the text inside the <h1>
tag to something else.
Sample code solution:
<html>
<body>
<h1>something else</h1>
</body>
</html>
HTML Concepts: <h1>
Heading Tag, HTML Elements, Tags, Body