Welcome to the Playground!!
I see that it's your first time here. Please consider doing a few lessons first if you are not familiar with Codemoji and in no time you'll be able to come back and master the playground!
This area is called the playground. You can use it to play around with the different tags, building whatever webpage you would like. There are no rules! Simply drag the emojis from the Emoji Box into the text editor on the left and then add text to see what you can create.
As always, press the blue "Run Code" button in the bottom left corner of the screen to run your code, then press the purple "View Code" button that appears to see what you've created!
If you forget your task (to play!) or would like a refresher as to how the playground works, simply click the white triangle in the bottom left corner of the screen and this tip will reappear.
Code Structure
HTML Structure
The
<html>tag. Before you can get going, you need a green light. All HTML documents start and stop with the<html>, so drop one in to begin, and to end your document.The
<head>tag. You'll find the brains of the operation, at the start, in the head - not seen on the page. You might want to add a title within the head.The
<title>tag. Turtles love titles. They like to put order to things and give them a name.The
<body>tag. Lots of things get layered to make a perfect page. Within the buns of a perfect burger or page, all of the content will be layered in the body. Go ahead, jam in as many toppings as you can.
Content Tags
The
<p>tag. Need a new paragraph? Newspapers are filled with them. Drop a newspaper in to get a new paragraph.The
<div>tag. Just like buses that have to come to a complete stop before starting up again, a div is a division in the content, separating things in the body.The
<h1>tag. Just like swirls on a soft serve ice cream cone, H1 to H6 tags are here. The most important ones are the H1, like the biggest swirl at the bottom, and the least important ones H6, like the smallest swirl at the top.The
<br>tag. Creates separation and a break between lines of text.The
<strong>tag. Emphasize something and say it strongly.The
<img>tag. If you need to add an image to your page, just use an img tag and select the picture you'd like.The
<map>tag. Add a map to your document by dropping this map in and selecting a location.The
<ul>and<li>tags. For creating unordered lists.The
<a>tag. Links connect the internet.
Media Tags
The
<audio>tag. Add some audio to your page.The
<video>tag. To add a video to your page.The
<table>tag. Structure makes things easier to understand sometimes. It adds rows and columns when you need to convey information structurally.