HTML review

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

1/44

flashcard set

Earn XP

Last updated 10:23 AM on 11/3/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

45 Terms

1
New cards

Definition of HTML

Hyper Text Markup Language

2
New cards

Tim Berners Lee

The designer of the original HTML

3
New cards

Markup language

A set of markup tags used to describe HTML documents

4
New cards

XHTML

Extensible Hypertext Markup Language

5
New cards

W3C

World Wide Web Consortium

  • the organization that recommends XHTML

  • the standard for writing HTML

6
New cards

Web browsers

Software used to read and display HTML documents

7
New cards

HTML tags

  • Describes different elements of a document in HTML

  • It consists of an element name (or letter symbol) enclosed in a left and right-angle brackets.

  • It provides instructions on how the information will be processed by the browser.

8
New cards

Formula for HTML tags and elements

<start tag> element content <end tag>

9
New cards

TYPES OF HTML TAGS

Empty tags

HTML tags that do not require an end tag

10
New cards

TYPES OF HTML TAGS

Paired Tags

Consist of a start tag and an end tag to mark the beginning and end of a section in HTML

11
New cards

Case sensitive

HTML tags are not case sensitive, but lowercase is recommended

12
New cards

Elements

Consist of a start tag, end tag, and content in between

13
New cards

TYPES OF HTML ELEMENT

Block level elements

HTML elements that start on a new line and take up the full width available


Examples:
<h1> to <h6>
<p>
<div>

14
New cards

TYPES OF HTML ELEMENTS

Inline elements

HTML elements that do not start on a new line and only take up as much width as necessary

Examples:
<img>
<span>
<a>

15
New cards

Attributes

  • Provide additional information about an HTML element

  • Are always specified in the start tag

  • Usually come in name/value pairs like name="value“.

    red is the attribute:
    <body align= “center”>

16
New cards

<!doctype html>

DOCTYPE DECLARATION

Represents the document type of HTML5


- helps the browser to display a web page correctly.
- the doctype declaration is not case sensitive.

<!doctype HTML>
<!DOCTYPE html>

17
New cards

HTML5

The latest version of HTML, represented by the declaration

18
New cards

HTML TAGS

<html>

used to indicate that the document is an HTML file.


It indicates the beginning and the end of an HTML file.

19
New cards

HTML TAGS

<head>

this tags delimits the header section of the document and contains information about the document that is not generally displayed within the document.

20
New cards

HTML TAGS

<body>

is a tag that sets the overall page characteristics and delimits the beginning and end of the body section of the HTML document.

It contains the entire document to be displayed on the page.

21
New cards

HTML FONT

<font>

the tag specifies the font-face, font-size, and color of text.

22
New cards

font-face

is the HTML font standard format

23
New cards

<i>

This tag italicizes section of text in an HTML document

Header 1 in italic

24
New cards

<b>

This tag bolds section of text in an HTML document.

Header 4 in bold

25
New cards

<u> </u>

This tag underlines section of text in an HTML document.

26
New cards

<em>

  • This tag emphasize section of text in an HTML document. (like italic)

27
New cards

<sub>

This tag is used to create subscript in an HTML document.

X2

28
New cards

<sup>

This tag is used to create superscript in an HTML document

29
New cards

HTML Headings

are defined with the <h1> to <h6> tags

<h1> defines the most important heading.
<h6> defines the least important heading.

30
New cards

HTML Display

with HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code.

The browser will remove any extra spaces and extra lines when the page is displayed.

31
New cards

<p>

this HTML element defines a paragraph.

32
New cards

<br>

this HTML element defines a line break.

33
New cards

<hr>

means Horizontal Rule

  • this tag defines a thematic break in an HTML page and is most often displayed as a horizontal rule.


this is an example of <hr> tag

34
New cards

<pre>

means Preformatted

  • the text inside this element is displayed in a fixed-width font (usually Courier)

  • it preserves both spaces and line breaks

35
New cards

<img>

means HTML IMAGES (jpg, png, gif)

  • The tag defines an image in an HTML page.

36
New cards

ELEMENT ATTRIBUTES

disabled

Specifies an input element should be disabled

37
New cards

ELEMENT ATTRIBUTES

href

Specifies the URL for a link

38
New cards

ELEMENT ATTRIBUTES

id

Specifies a unique id for an element

39
New cards

ELEMENT ATTRIBUTES

style

Specifies an inline CSS style for an element

40
New cards

ELEMENT ATTRIBUTES

title

Specifies extra information about an element

41
New cards

<img> 2 attributes:

src

means Source

  • Specifies the URL for an image

42
New cards

<img> 2 attribute:

alt

means Alternate Text

  • Specifies an alternate text for an image

43
New cards

HTML LINKS

<a>

means Anchor

  • This tag defines a hyperlink, which is used to link from one page to another.

  • The most important attribute of this element is the href attribute, which indicates the link's destination.

44
New cards

HTML TABLE

<td>

means Table cell

  • this table element defines the table cell.

45
New cards

HTML FORM

<fr>

means Form

  • tag is used to create an HTML form for user input.