HTML | Tags, Attributes, Etc.

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

1/24

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

25 Terms

1
New cards

<pre>

Text is displayed as it is written in the HTML file.

2
New cards

&nbsp;

HTML entity used to add extra spaces inside paragraphs.

3
New cards

<b>

Physical tag used to simply make text bold.

4
New cards

<strong>

Semantic tag used to signify text is of importance.

5
New cards

<i>

Physical tag used to make text italic.

6
New cards

<em>

Semantic tag which emphasizes text.

7
New cards

<mark>

used to highlight text.

8
New cards

border-collapse: collapse

CSS property used to prevent double borders in tables.

9
New cards

<caption>

Acts as the title of an HTML table.

10
New cards

list-style-type: value

CSS property used to change bullet points of unordered lists.

11
New cards

<a href=”link” download=”name”>

Attribute for file downloads with links, wherein the value is set as the filename of downloaded resource from the href.

12
New cards

<a href=”mailto:name@domain.com”>

Used to link emails.

13
New cards

<a href=”tel:+9778841999999”

Used to link telephone numbers.

14
New cards

<img src=”link” title=”name”>

The <title> attribute displays text that appears when an image is on hover.

15
New cards

<form action=”/login”>

<action> attribute is used to define action performed when form is submitted, usually containing the url where the form data is sent.

16
New cards

<for method=”value”>

Used to define HTTP method used in submitting the form.

  1. post
    - send data to a server to update resource.

  2. get
    - requests data from a resource.

  3. dialog
    - closes a dialog and sends a form-submit event.

17
New cards

<form name=”value”>

Specifies the name of the form, used in JS to access the form.

18
New cards

<select id=”pets”>
<option value=”dog”> Dog </option>
</select>

Used to create a menu of options, each option created with the <option> tag.

note: use <optgroup> to create a group of options.

19
New cards

<datalist id=”country”>
<option value=”Australia”>
</datalist>

Similar to <select tag>, but options are defined inside <option> tag, creating a list of pre-defined options with autocomplete feature.

20
New cards

<textarea>

Defines a customizable multiline text input field.

21
New cards

<nav>

Defines a section with navigation links.

22
New cards

<article>

Specifies independent, self-contained content.

23
New cards

<aside>

Defines content aside from the main, like a sidebar.

24
New cards

<details>

Defines additional details which can we viewed or hidden.

25
New cards

<summary>

Defines visible heading for <details> element.