HTML Flashcards

(8 cards)

1
Q

What does HTML stand for?

A

Hyper Text Markup Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is hypertext?

A

Text containing hyperlinks to other documents or parts of documents, allowing navigation by clicking the links.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between block-level and inline-level elements?

A

Block-level elements (e.g., div, p) are rendered separately, while inline-level elements (e.g., span, a) flow with the text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the difference between absolute and relative URLs?

A

Absolute URLs include protocol, host, and path (e.g., https://example.com/page), while relative URLs are interpreted relative to the current document (e.g., page.html)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is markup language

A

uses tags to structure and annotate text, defining its layout or meaning (e.g., <h1> for headings).

Unlike programming languages, it describes what content is (not how to process it).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name the four essential elements in an HTML document.

A

<html>, <head>, <!DOCTYPE html>, <body>.
</body></head></html>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Name three XHTML syntax rules stricter than HTML.

A

Tags must be lowercase.
Attributes must be quoted: href=”link.html”.
Void elements must self-close: <br></br>.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the DOCTYPE declaration for HTML5?

A

<!DOCTYPE html>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly