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

HTML Test Questions and Answers

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

HTML Test Questions and Answers

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 11, 2024
Number of pages
39
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

HTML Test Questions and Answers
Which of the following is proprietary to Windows-based operating systems and is used to update
database files? Correct Ans-Open Database Connectivity (ODBC)



Which of the following is the most important consideration to ensure that your image's resolution
will be as clear as possible when viewed on a computer monitor? Correct Ans-The image's
dimensions in pixels. For Web images, the dimensions of the image in pixels — rather than the
dpi or ppi — are most important. When designing a Web site, you will typically resize images to
the dimensions you want to use on your Web page.



Which of the following is used in many programming languages to help end an infinite loop?
Correct Ans-A Break Statement



Which of the following language types does not allow for inheritance from one class to another?
Correct Ans-Object-based programming languages are similar to object-oriented
programming languages, but they do not allow for inheritance from one class to another.



Which of the following lines of HTML code will create a link to the text that reads "FAQ"?
Correct Ans-<a href="#targetArea1"> Top of the FAQ </a>



Which of the following occurs when you specify the wrap="soft" attribute and value for the
<textarea> tag? Correct Ans-You can use a text area box to gather more than one line of text
from a user. The <textarea> tag provides a scrolling text box into which a user can enter multiple
lines of text. The wrap attribute of the <textarea> tag specifies whether user-entered text can
wrap to new lines in the text box. If "soft" is specified, text continues on one line beyond the

,scrolling text box border, so the user must scroll horizontally to read his or her entry. If "hard" is
specified, text will wrap to a new line as it approaches the box border.



Which of the following should you use to specify the width in characters of a scrolling text box?
Correct Ans-The cols attribute



Which of the following should you use when you develop your own Web pages and want to link
them to form a site? Correct Ans-A local hyperlink is a link you create from one file on your
local system to another file on your local system. You create these types of links when you are
developing your own pages and linking them to form a site.



An external hyperlink is a link you create from a file on your system to a separate file on the
Internet. An internal hyperlink links areas within the same Web page file. You can create a
hyperlink from a graphical image by surrounding the image tag with opening and closing anchor
tags.



Which of the following statements about HTML5 is true? Correct Ans-The DTD file is no
longer required in HTML5.



Which of the following statements is true of Dynamic HTML (DHTML)? Correct Ans-
DHTML is both a front-end and a back-end solution.



Which of the following would be the best method to use for floating images to the left and right
of text in HTML5 if you are developing sites with multiple pages? Correct Ans-External CSS
classes are useful for floating images to the left or right of text in HTML5.

,The inline CSS style attribute can also be used for floating images to the left and right of text
although it is not the best method to use if you are developing sites with multiple pages.



Which of these HTML elements is considered a text-level element? Correct Ans-<br>.
Answers A, D, and C are incorrect. The <p>, <h2> and <list> elements are paragraph-level or
block-level elements.



Which server-side scripting language is Microsoft's original server-side scripting solution?
Correct Ans-Active Server Pages (ASP) is Microsoft's original server-side scripting solution.
It has largely been supplanted by .NET. You can create ASP applications using VBScript, which
is quite similar to JavaScript, except that VBScript is a proprietary Microsoft language whereas
JavaScript was introduced by Netscape.



PHP is an interpreted server-side scripting language used for creating dynamic Web pages. PHP
is not a Microsoft solution but can be used as an alternative to ASP. Perl is a cross-platform
programming language that enables users to write custom CGI programs and system
management programs. Perl is also not a Microsoft solution.



Which technology resides on a server and receives Web form data from the browser, then
processes the data into human-readable format? Correct Ans-Common Gateway Interface
(CGI) is used to receive and process data submitted with a Web form by a user.



Which term describes a set of files called a library that you can refer to in your code? Correct
Ans-An include is the name for a set of files called a library that you can refer to in your code.

, Programmers often include libraries in their code to avoid having to re-create code that has
already been written.



Which term describes a style of programming that links data to the processes that manipulate it,
rather than using subprograms to accomplish tasks? Correct Ans-Object-oriented is a style of
programming that links data to the processes that manipulate it. An object-oriented language may
include procedural elements, but instead of using subprograms to accomplish a task, the object-
oriented language will create an object that can then be manipulated throughout the program.



A procedural language relies on subprograms to accomplish a task in an application. A compiled
program consists of code in a standard text file that has been converted into an executable
application by a compiler. A client-side language runs on the user's computer after the page is
downloaded.



Which term describes a style of programming that uses subprograms to accomplish tasks?
Correct Ans-Procedural programming languages rely upon subprograms to accomplish a task
in an application. Subprograms are contained within an application and are called by various
terms depending upon the language used.



Which Web image format is best suited for line art, custom drawings and navigational images?
Correct Ans-GIF




Why should you avoid adding spaces or hard returns within an <img> tag? Correct Ans-With
HTML, if you add a space or use the ENTER key to create a return within the <img> tag, the
additional space will not be rendered in a browser. In XHTML, however, sometimes adding
spaces or hard returns within or even between <img> tags will cause white space to appear and
affect the placement of the image on the page.

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.
StudyLoom01 Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
116
Member since
2 year
Number of followers
35
Documents
6930
Last sold
1 month ago
MINDSPIRE

FIND ALL EXAMS,STUDY GUIDES AND TEST BANKS, REVISION MATERIALS TO BOOST YOUR CAREER!! WELCOME (STUVIA 2025) Leave A review Once Purchased Documents has helped you So that other customers May be Satisfied. Also, Refer 2 colleagues and get One document Free. All the best in your Career. GOODLUCK!!! Thank you!

4.1

30 reviews

5
19
4
1
3
6
2
1
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