HTML Flashcards

1
Q

What is HTML?

A

HTML (Hypertext Markup Language):Definition: HTML is the standard markup language used to create web pages. It defines the structure and content of a webpage using tags.

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

What are tags?

A

Tags and Elements:
Definition: Tags are the building blocks of HTML and are enclosed in angle brackets (< and >). Elements consist of an opening tag, content, and a closing tag.

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

What are attributes?

A

Attributes:
Definition: Attributes provide additional information about HTML elements and are specified within the opening tag. They consist of a name and a value and are written as name=”value”.

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

What are forms?

A

Forms:
Definition: HTML forms allow users to input data and submit it to a web server for processing. They consist of form elements such as text fields, checkboxes, radio buttons, dropdown menus, and submit buttons.

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

Construct a html document

A

<!DOCTYPE html>

<html>
<head>
<meta></meta>
<meta></meta>
<title>My First Webpage</title>
</head>
<body>
<h1>Welcome to My First Webpage</h1>
<p>This is a simple example of an HTML document.</p>
<p>You can add more content here, such as images, links, and lists.</p>
<a>Visit Example Website</a>
</body>
</html>

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