0% found this document useful (0 votes)
2 views3 pages

Three Structural Elements in HTML5

Uploaded by

d29v742nr4
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views3 pages

Three Structural Elements in HTML5

Uploaded by

d29v742nr4
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

A.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,
initial-scale=1">
<title>HTML5 - SUMMARY</title>
<style type="text/css">
body{
background-color: red;
}
h1{
color: blue;
font-family: Old Bookman Style;
}
.SCHOOL{

</style>
</head>
<body>
<h1> Hello my name is ronaldo</h1>
<audio src="guitar.mp3"></audio>
<img src="[Link]" id="SCHOOL">
</body>
</html>

B. 1. It will not be valid


2. The browser will treat the file like a text document and it will
only display the text.
3. Browsers may try to guess your intentions and the rendering
may not be what you expect
4. Instead of it displaying the image it will display the name of the
image
5. It will not interpret the HTML properly and it wont know which
version of HTML you are using
C. 1. False
2. True
3. False
4. True
5. False
D. 1. Tags are not case sensitive
Quotes are optional for attributes as well as attribute values
The first line of the document should be doctype html
2. Using the <img> tag and <picture> tag
3. Standards attributes are also called global attributes and are
supported by almost all the elements in HTML.
Three attributes of standard attributes
 Background
 Accesskey
 Align
4. Backward compatibility means the compatibility of the new
HTML5 with the older versions of the markup language features to run
in older versions of web browsers along with new features spported by
latest web browsers and yes it is compatible for HTML5
5. Structural elements are a group of elements which are used to
create the structure of HTML5 documents
Three structural elements are
 Header
 Nav
 Article

You might also like