Basic Structure & Tags

Q: What is HTML?

HTML (Hyper Text Markup Language) is the standard markup language for creating web pages and web applications.

Q:  What is the purpose of the <meta> tag?

The **<meta>** tag provides metadata about the HTML document, such as character set, author, description, and keywords. It’s placed within the <head> section.

<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A concise and informative description of your webpage.  Keep it under 160 characters.">
<meta name="author" content="Your Name">

Q: What is the purpose of the rel attribute in a <link> tag?

The rel attribute specifies the relationship between the current document and the linked resource.

<link rel="stylesheet" href="styles.css">

Q: What are empty/void elements in HTML?

Empty elements are HTML tags that do not have any content or closing tag.

Examples: <img>, <br>, <hr>, <input>.