Certiport HTML & CSS Certification Study Guide
Question with Verified Correct Answers
<!DOCTYPE html>
Declares HTML5 document.
<html lang="en">
Root of HTML document; lang attribute specifies language.
<head>
Contains meta information, links to stylesheets, etc.
<meta charset="UTF-8">
Specifies the character encoding for the HTML document.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Sets the viewport to control layout on mobile browsers.
<title>
Title shown in browser tab.
<link rel="stylesheet" href="style.css">
Links an external CSS stylesheet.
<body>
Contains visible content.
<h1> to <h6>
Headings indicating hierarchical importance.
Question with Verified Correct Answers
<!DOCTYPE html>
Declares HTML5 document.
<html lang="en">
Root of HTML document; lang attribute specifies language.
<head>
Contains meta information, links to stylesheets, etc.
<meta charset="UTF-8">
Specifies the character encoding for the HTML document.
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Sets the viewport to control layout on mobile browsers.
<title>
Title shown in browser tab.
<link rel="stylesheet" href="style.css">
Links an external CSS stylesheet.
<body>
Contains visible content.
<h1> to <h6>
Headings indicating hierarchical importance.