100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

HTML Test Practice Questions and Answers 100% Pass

Rating
-
Sold
-
Pages
59
Grade
A+
Uploaded on
23-11-2024
Written in
2024/2025

HTML Test Practice Questions and Answers 100% Pass Which of the following does the HTML <head> tag contain? - ANSWER-The < head> tag contains the < title> tag. The < head> tag also allows you to insert < meta> tags (which describe the nature of the document) and links to style sheets. You want to create Web pages that can easily adapt to smartphones, tablets, gaming devices and smart TVs, as well as to traditional PCs. Which of the following would be best suited for this purpose? - ANSWER- HTML5 APIs provide an open environment for developing Web applications that does not rely on proprietary browser plug-ins. HTML5 APIs consist of HTML5, CSS and JavaScript. JavaScript is used to access the DOM. You want to create a horizontal rule on your Web page that is 10 pixels high and occupies 20 percent of the screen. You also want to ensure that Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 2/59 the page validates as HTML5. Which line of HTML code will fulfill these requirements? - ANSWER-<hr style="height:10px; width:20%;"/> (Use :) Describe the different list tags? - ANSWER-The <ul> element creates a bulleted, or unordered, list. The <ol> element can be used similarly to create a numbered, or ordered, list. The <li> tag creates a list item within the list. List items are not displayed in bold or italic type unless additional tags (such as <strong> and <em>) are added to this code. What does the <ul> element create? - ANSWER-A list with bullet points What does the <ol> element create? - ANSWER-A list with numbers What does the <em> tag do? - ANSWER-Italicizes the words. Your company Web site uses a Web form to collect data from a user. The user has entered data into the form fields and will soon click the Submit button, then the data will be sent to a database. Which of the following passes information from the Web form to the database server? - Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 3/59 ANSWER-A CGI script passes information from the Web form to the database server. A CGI script can be created using various languages, from Perl to Java. Information has just been sent from a Web form on a client's system to a Web server. Which of the following is required to process this information at the Web server? - ANSWER-A user-input form must contain code that references a Web server; this code is called an application, or a Web server application. This application helps convey the information provided by the end user to the Web server, or to a database server that can store and/or process the information. Such applications are called Common Gateway Interface (CGI) applications because they enable information to pass in and out of a server. Various CGI implementations exist. CGI implementations use various computer languages and tech

Show more Read less
Institution
HTML
Course
HTML











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
HTML
Course
HTML

Document information

Uploaded on
November 23, 2024
Number of pages
59
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

HTML Test Practice Questions and
Answers 100% Pass


Which of the following does the HTML <head> tag contain? -

ANSWER✔✔-The < head> tag contains the < title> tag. The < head> tag

also allows you to insert < meta> tags (which describe the nature of the

document) and links to style sheets.


You want to create Web pages that can easily adapt to smartphones,

tablets, gaming devices and smart TVs, as well as to traditional PCs. Which

of the following would be best suited for this purpose? - ANSWER✔✔-

HTML5 APIs provide an open environment for developing Web

applications that does not rely on proprietary browser plug-ins. HTML5

APIs consist of HTML5, CSS and JavaScript. JavaScript is used to access the

DOM.


You want to create a horizontal rule on your Web page that is 10 pixels

high and occupies 20 percent of the screen. You also want to ensure that



Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 1/59

,the page validates as HTML5. Which line of HTML code will fulfill these

requirements? - ANSWER✔✔-<hr style="height:10px; width:20%;"/>




(Use :)


Describe the different list tags? - ANSWER✔✔-The <ul> element creates a

bulleted, or unordered, list. The <ol> element can be used similarly to

create a numbered, or ordered, list. The <li> tag creates a list item within

the list. List items are not displayed in bold or italic type unless additional

tags (such as <strong> and <em>) are added to this code.


What does the <ul> element create? - ANSWER✔✔-A list with bullet

points


What does the <ol> element create? - ANSWER✔✔-A list with numbers


What does the <em> tag do? - ANSWER✔✔-Italicizes the words.


Your company Web site uses a Web form to collect data from a user. The

user has entered data into the form fields and will soon click the Submit

button, then the data will be sent to a database. Which of the following

passes information from the Web form to the database server? -
Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 2/59

,ANSWER✔✔-A CGI script passes information from the Web form to the

database server. A CGI script can be created using various languages, from

Perl to Java.


Information has just been sent from a Web form on a client's system to a

Web server. Which of the following is required to process this information

at the Web server? - ANSWER✔✔-A user-input form must contain code

that references a Web server; this code is called an application, or a Web

server application. This application helps convey the information provided

by the end user to the Web server, or to a database server that can store

and/or process the information. Such applications are called Common

Gateway Interface (CGI) applications because they enable information to

pass in and out of a server. Various CGI implementations exist. CGI

implementations use various computer languages and technologies, such

as Active Server Pages (ASP).


Which of the following costs should be considered when providing your

own Web server instead of using a cloud service provider or an Internet

Service Provider (ISP)? - ANSWER✔✔-A hardware and software support

technician

Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 3/59

, Consider the following HTML code from a page that resides on a Web

server:




<a href="/pages/index.html"> CCYP Home </a>




According to this code, where does the file named index.html reside on the

server? - ANSWER✔✔-In the "pages" directory, which resides off of the

server's root directory


You are embedding a video in your Web page and want to incorporate the

play, pause, rewind, fast forward and volume video controls. Which

attribute is needed to accomplish this? - ANSWER✔✔-controls="controls"


Which of the following is a valid HTML reference to a CSS file? -

ANSWER✔✔-<link rel="stylesheet" type="text/css" href="syb/syb.css"

title="stylesheet"/>


Which technology resides on a server and receives Web form data from the

browser, then processes the data into human-readable format? -



Copyright ©EMILLYCHARLOTE 2025 ACADEMIC YEAR, ALL RIGHTS RESERVED. Page 4/59

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
EmillyCharlotte Howard Community College
View profile
Follow You need to be logged in order to follow users or courses
Sold
93
Member since
1 year
Number of followers
4
Documents
11816
Last sold
23 hours ago
ALL-MAJOR.

On this page, you find all documents, package deals, and flashcards offered by seller Emilly Charlotte.

3.6

20 reviews

5
7
4
6
3
2
2
2
1
3

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions