HTML Intro

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

1/9

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.

10 Terms

1
New cards

What HTML stand for?

Hyper Text Markup Language

2
New cards

What is HTML?

Creates webpages, and describes the structure of a webpage.

  • Contains elements

3
New cards

What are elements? Give examples and definitions.

Contain start tag, content, and end tag.

Tells browser what to display. (Declarative)

Empty element → no content, no end tag.

<p>Contain start tag, content, and end tag. </p><p>Tells browser what to display. (Declarative)</p><p>Empty element → no content, no end tag.</p>
4
New cards

What is a web browser?

Reads HTML documents and displays them accordingly.

Browser doesn’t display HTML tags but uses them to display document.

5
New cards

What must HTML documents start with?

Document type declaration

  • <!DOCTYPE html>

    • Helps browser display pages correctly

    • Always written once at top of the page.

  • Starts with: <html> | Ends with: </html> (after Doctype defined)

6
New cards

Where is the visible part of the a HTML document displayed?

Between <body> → </body> tags.

7
New cards

HTML Tag: Headings.

  • Defined with: <h1> → <h6> tags

  • <h1> is MOST IMPORTANT heading.

    <h6> is LEAST important.

8
New cards

HTML Tag: Paragraph

  • Defined with <p> tag.

9
New cards

HTML Tag: Links

  • Defined with <a> tag.

  • e.g. <a href="This" data-prevent-progress="true">https://www.w3schools.com">This is a link</a>

    • href → attribute that specifies link destination.

    • Attributes → provide additional information about HTML elements.

10
New cards

HTML Tag: Images

  • Defined with <img> tag.

    e.g. <img src="w3schools.jpg" alt="W3Schools.com" width="104" height="142">

    • src (source file), alt (alternative text), width, and height are attributes.