Supercharge Session 1

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

flashcard set

Earn XP

Description and Tags

Discovering HTML and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

trinity READ THE COMMANDS/INSTRUCTIONS FULLY before YOU RUN THE CODE

okay

2
New cards

The html tag goes first because

it represents the root of the HTML document.

3
New cards

The body tag isn't last because

it sits within the html tag.

4
New cards

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>

5
New cards

Add the body tags to the webpage.

<html>
</html>

<html>
  <body>
    </body>
</html>

6
New cards

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>

7
New cards

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>

8
New cards

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>

9
New cards

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>

10
New cards

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>

11
New cards

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>