HTML

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

1/23

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:50 PM on 5/20/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

24 Terms

1
New cards

What is HTML?

Hyper text markup language is the content and structure of a webpage through the use of elements.

2
New cards

What is the opening & closing tag for a main heading?

<h1> & </h1>

3
New cards

What is the opening and closing tag for a subheading?

<h2> & </h2>

4
New cards

What is the opening and closing tag for a paragraph?

<p> & </p>

5
New cards

What are void elements?

  • HTML elements with no closing tags.

  • Some void elements have this structure <element/> but it’s unnecessary.

  • They have no content.

6
New cards

What is an attribute?

  • An attribute is placed inside the opening tag that adds additional information to the element or says how it should work.

  • <element attribute=“value”></element>

7
New cards

What does the src attribute do?

  • It specifies the location of the image.

  • Structure = <img src=“link”>

8
New cards

What does the alt attribute do?

  • It provides short descriptive texts for the image

  • Not required but recommended

  • Usually after the src

  • E.g alt= “two tabby kittens sleeping together on a couch”

9
New cards

What does the attribute Href do?

  • It identifies the URL of a link

  • It is required as without it the link wouldn’t work since there would be no destination URL.

10
New cards

What does the ‘target’ attribute do?

It identifies where to open the link

11
New cards

What does the ‘a’ attribute do?

  • This is used to create hyperlinks

  • Users select the clickable part between the opening and closing a tags.

12
New cards

What does Target=“blank” do?

Opens the link in a new webpage

13
New cards

What does the attribute ‘checked’ do?

  • It makes the checkbox checked by default

  • <input type= “checkbox” checked/>

  • Has a unique setup; doesn’t need a value

14
New cards

What are inputs used for?

To collect data from users

15
New cards

What does the type attribute do?

It specifies the type of input

16
New cards

What does the attribute ‘disabled’ do?

  • It makes the action disabled

  • E.g <input type=“text” disabled> means you won’t be able to type in the box until you remove the ‘disabled’

17
New cards

What is the element ‘link’ used for?

  • It is used to link external resources (e.g style sheets & site icons).

18
New cards

What is the basic formula for using the ‘link’ element for an external CSS file?

<link rel=“stylesheet” href=“./styles.css”/>

19
New cards

What is the ‘rel’ attribute used for?

  • It specifies the relationship between the linked resource & the HTML document.

20
New cards

What is a style sheet?

  • A set of CSS rules used to control the layout & design of a webpage or document.

21
New cards

What is an external sylesheet?

A separate CSS file that can be accessed by creating a link in the heading section of the web page.

22
New cards

What is CSS?

It is used to describe the style of a HTML document

23
New cards

What does a fit with a forward slash (. / ) tell the computer?

It tells the computer to look in the current folder or directory ( a structured list/index with organised info e.g addresses, names or files) for a file.

24
New cards