MIS HTML Quiz
When would you use <a>?
<a> is the anchor tag and is used to attach a hyperlink ex: <a href="https://www.unh.edu">UNH Website</a>
What tag should you use if you want to split text onto multiple lines?
<br>
What is the current version of HTML?
HTML5
For others to view your webpage, it must be published to a _____ ______
web server
What setting needs to be checked in view?
word wrap
What does a web browser do?
they interpret tags to show web page content
To create a hyperlink you need: (a) the web address (b) some text (c) an anchor tag (d) all of the above
d
What is the comment tag?
<!--comment-->
HTML is platform independent (You can use it on a mac, pc, etc.) (True/False)
True
Headings range from h1-h6 (True/False)
True
What is the first and last tag of an HTML program and what is it purpose?
<!DOCTYPE html> is the opening tag and it identifies the file as HTML. <html> is the ending tag (remember to include another <html> in addition to the <!DOCTYPE html> tag)
What element contains all of the content of the website?
<body></body>
What is the difference between the head and the heading?
<head> is not shown in the website and describes characteristics of the website such as the language and character set. Headings <h1> appear as larger and bolded text in the website
What is the language attribute?
<html lang="en">
What is the difference between an HTML element and an HTML tag?
An HTML element is the collection of the start tag, attributes and the end tag where as the tag is just the opening or closing (tag: <p>) (element: <p>Hello</p>)
You should use caps and spaces in file and image names (True/False)
FALSE
You need to close the tag on every tag in HTML (True/False)
False, <img> and <br> are two examples where it is unnecessary since they insert something into the website (single tag)
You do not need a text editor to code HTML (True/False)
False, but it does not have to be Sublime
What does HTML stand for?
Hypertext Markup Language
Why would you use the alt attribute?
Just in case an image does not open, a description can be seen
What does <meta charset="utf-8"> do and where should it be nested?
Specifies the character set of the code. "utf-8" translates numbers into binary code. It should be nested in the <head> tag.
Spacing is optional in the text editor (True/Talse)
True
To open an <img> without needing the url, it must be saved to the Webpages folder on your desktop (True/False)
True
We create webpages using HTML in a text editor and view them in a web browser (True/False)
True
You can link to other HTML pages, a different site, or a different location on the same site (True/False)
True
What does URL stand for and what is it?
Universal Resource Locator - a unique address on the internet.(web browser searches for a webpage on a web server)
Do attributes go within the opening tag or between the opening and closing tag?
Within the opening tag
HTMl allows you to format the content of a webpage (true/false)
false; CSS formats content, HTML structures content
What does href stand for?
hyperlink reference
keywords surrounded by angle brackets are _____
tags
Why do you need src attribute for an image?
the src attribute tells the computer where the image is located and the path to receive it (folder or internet)
Where is the title found?
the tab
______ Are the building blocks of HTML
elements
What does FTP stand for?
File Transfer Protocol --> Uploads web page to a web server
Attribute values are always enclosed by quotations (True/False)
True