HTML Flashcards
What is HTML?
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.
What are tags?
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.
What are attributes?
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”.
What are forms?
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.
Construct a html document
<!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>