writing HTML from memory

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/29

encourage image

There's no tags or description

Looks like no tags are added yet.

30 Terms

1
New cards

Write the HTML document type declaration.

[!DOCTYPE html]

2
New cards

Write the opening and closing html tags.

[html][/html]

3
New cards

Write the opening and closing head tags.

[head][/head]

4
New cards

Write the opening and closing body tags.

[body][/body]

5
New cards

Create a browser tab title that says My Website.

[title]My Website[/title]

6
New cards

Create a main heading that says Welcome.

[h1]Welcome[/h1]

7
New cards

Create a second-level heading that says About Me.

[h2]About Me[/h2]

8
New cards

Create a paragraph that says I am learning HTML.

[p]I am learning HTML.[/p]

9
New cards

Create a button that says Start.

[button]Start[/button]

10
New cards

Create an image using dog.jpg with alternative text Dog.

[img src="dog.jpg" alt="Dog"]

11
New cards

Create an image using cat.jpg with alternative text Cat and a width of 200 pixels.

[img src="cat.jpg" alt="Cat" width="200"]

12
New cards

Create a link to https://example.com that says Visit.

[a href="https://example.com"]Visit[/a]

13
New cards

Create a link to page.html that opens in a new tab and says Open.

[a href="page.html" target="_blank"]Open[/a]

14
New cards

Create a numbered list containing First and Second.

[ol][li]First[/li][li]Second[/li][/ol]

15
New cards

Create a bulleted list containing Apple and Banana.

[ul][li]Apple[/li][li]Banana[/li][/ul]

16
New cards

Create an empty div container.

[div][/div]

17
New cards

Create a div containing a paragraph that says Hello.

[div][p]Hello[/p][/div]

18
New cards

Create a div containing a main heading that says Home.

[div][h1]Home[/h1][/div]

19
New cards

Create a div containing a button that says Continue.

[div][button]Continue[/button][/div]

20
New cards

Mark the word Important as strongly important.

[strong]Important[/strong]

21
New cards

Add stress emphasis to the word Really.

[em]Really[/em]

22
New cards

Create a paragraph containing the strongly important word Warning.

[p][strong]Warning[/strong][/p]

23
New cards

Create an empty form.

[form][/form]

24
New cards

Create a text input.

[input type="text"]

25
New cards

Create a password input.

[input type="password"]

26
New cards

Create an email input.

[input type="email"]

27
New cards

Create a text input with the id username.

[input type="text" id="username"]

28
New cards

Create a label that says Username and connects to the id username.

[label for="username"]Username[/label]

29
New cards

Create a label and matching text input for a name.

[label for="name"]Name[/label][input type="text" id="name"]

30
New cards

Create a form containing a text input and a submit button.

[form][input type="text"][button type="submit"]Submit[/button][/form]