1/10
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
trinity READ THE COMMANDS/INSTRUCTIONS FULLY before YOU RUN THE CODE
okay
The html
tag goes first because
it represents the root of the HTML document.
The body
tag isn't last because
it sits within the html
tag.
Add an h1
element and a p
element with some text of your choice.
<html>
<body>
</body>
</html>
<html>
<body>
<h1>hey shayla</h1>
<p>this is an example!</p>
</body>
</html>
Add the body
tags to the webpage.
<html>
</html>
<html>
<body>
</body>
</html>
Above the p
element, add an h1
element and an h2
element with any text you like.
<html>
<body>
<p>Florida man saves dog</p>
</body>
</html>
<html>
<body>
<h1>Example</h1>
<h2>Example</h2>
<p>Florida man saves dog</p>
</body>
</html>
Add two p
elements with any text you like.
<html>
<body>
<h1>Humorous Lyrics</h1>
</body>
</html>
<html>
<body>
<h1>Humorous Lyrics</h1>
<p>(example)</p>
<p>(example)</p>
</body>
</html>
Find two issues on this webpage and fix them.
<html>
<body>
<h1>The Daily News<h1>
<h2>Local Stories<h2>
<p>Florida man saves dog</p>
</body>
</html>
there’s no h1 closing tag; there’s no h2 closing tag.
Corrected:
<html>
<body>
<h1>The Daily News</h1>
<h2>Local Stories</h2>
<p>Florida man saves dog</p>
</body>
</html>
Make the heading more prominent by turning the h3
element into a h1
element.
<html>
<body>
<h3>Today's Weather</h3>
<p>It will be the perfect weather for coding together.</p>
</body>
</html>
<html>
<body>
<h1>Today's Weather</h1>
<p>It will be the perfect weather for coding together.</p>
</body>
</html>
Create two p
elements by adding opening and closing <p>
tags before and after the two sentences.
<html>
<body>
What has a head, a tail, is brown, and has no legs?
A penny
</body>
</html>
<html>
<body>
<p>What has a head, a tail, is brown, and has no legs?</p>
<p>A penny</p>
</body>
</html>
Add an h1
heading, an h2
heading, and a paragraph element with any text you like.
<html>
<body>
</body>
</html>
trinity READ THE COMMANDS/INSTRUCTIONS FULLY before YOU RUN THE CODE
<html>
<body>
<h1>example</h1>
<h2>example</h2>
<p>example<p>
</body>
</html>