0% found this document useful (0 votes)
3 views5 pages

HTML Basics: Tags and Syntax Explained

The document contains questions and answers about basic concepts and syntax of HTML. It covers topics such as the meaning of HTML, common tags like , , , , lists and tables, as well as issues related to web protocols like HTTP and TCP/IP.

Translated by

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

HTML Basics: Tags and Syntax Explained

The document contains questions and answers about basic concepts and syntax of HTML. It covers topics such as the meaning of HTML, common tags like , , , , lists and tables, as well as issues related to web protocols like HTTP and TCP/IP.

Translated by

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

1.

HTML stands for:


Home Tool Markup Language 11. What is the correct syntax for creating a textarea?
b) Hyper Text Markup Language <textarea>
c) Hyper Text Macro Language b) <input type="textarea" />
c) <input type="textbox" />
2. Who defines the standards of the WEB? d)
The World Wide Web Consortium
b) The governments
12. What is the correct syntax to insert an image?
c) ICAAN
a) <img href="[Link]" />
d) Microsoft <img src="[Link]" />
<img>[Link]</img>
3. Choose the HTML TAG for the smaller header d) <image src="[Link]" />
a) <heading>
b) <head> 13. What is the correct syntax to insert an image in
<h1> background?
d)<h6> a) <background img="[Link]">
<body background="[Link]">
4. Choose the correct HTML TAG to place the text to c) <img src="[Link]" background />
bold
a)<b> 14. The term "Internet" was used for the first time to
<bold> designate
c) <bold> a) The set of infrastructures and protocols that
d) <n> allows communication on local networks.
b) The set of services made available on
5. What is the correct HTML TAG to create a hyperlink? a global computer network structure.
a) <a>[Link] c) The set of physical infrastructures that enable the
b) <a name="[Link] data transmission between two computers.
[Link] d) All of the above options.
<a href="[Link] e) None of the above options.
W3Schools
d)<a url="[Link]
15. The Internet is now available everywhere.
[Link]</a>
continents.
Examples of services that use services
6. How to create a link for email? made available on the Internet are:
a) <mail>xxx@yyy</mail> a) Skype, Internet Explorer, Firefox, and Mail.
<a href="[Link] b) HTTP, HTML, XML, and SGML.
<mail href="xxx@yyy"> c) The World Wide Web, electronic mail, the
d) <a href="xxx@yyy"> file transfer and sharing.
d) All of the above.
7. Which of the following lines has working TAGs e) None of the above.
in tables?
a) <thead><body><tr> 16. What code displays a table with two cells?
b) <table><head><tfoot> arranged vertically in a single column?
c)<table><tr><td>
a)<table><tr><td></td></tr><tr><td></td></tr>
d) <table><tr><tt> </table>
b) <table><tr><td></td><td></td></tr></table>
8. How to create a list with items marked by c) <table><th><tr><td></td></tr></th></table>
bullets? <tr><td></td></tr><tr><td></td></tr>
<ul>
b) <dl>
c) <ol> 17. Which of the following is not a valid extension for a
d) <list> page with HTML content?
a. http
9. How do you create a checkbox? b. html
a) <check> c. html
b) <checkbox> d. php
<input type="check" />
d)<input type="checkbox" />
18. How is the style of the text defined?
a. <font style="Arial"></font>
10. What is the correct syntax to create a text input field?
b.
a) <textfield>
c.<style="Arial">
b) <input type="text" />
d.<text=Arial>
c) <textinput type="text" />
d)<input type="textfield" />
19. Labels and text are directly visible in the 28. The meta keyword tags allow
where are the pages placed in the document? a) Define the technical classification of the document
a. Head b) Help search engines to classify the
[Link] document
c. In the title c) Improve the document's position in search engines
d. Only in SCRIPT files search
d) Define keywords to display in the bar of
document status
20. The <i> tag is used to italicize the text.
a. Italic
[Link] 29. External CSS files can be integrated into the
[Link] page using the tag of
d. underlined a. link
[Link]
[Link]
21. What does the attribute vlink mean? [Link]
a. active link
b. virtuallink 30. What constitutes an HTML document?
c. visited link a. <html></html>
d. vital link b. <head></head>
c. <body></body>
22. Decreasing the cell padding value will cause: d. All of the above
a. increase in the distance between the cell and its
content 31. In SGML, how is an attribute defined in an element?
b. increase the space between cells a)attribute="value"
the reduction of the distance between the edge b)attribute=value
the cell and its content c)attribute="value;"
nothing d)attribute=value;

23. The password fields are similar to 32. Which of the following lines have tags correctly?
a) Text fields that can only show asterisks nested?
b) Hidden fields that only show asterisks a) <p> This <span>Hello! </span></p>
c) Text area fields that show asterisks This Hello!
d) None of the above c) <p> This <span>Hello! </span></p>
<p> This <span>Hello! </span></p>
24. HTML does not work in the following way:
a) It is preprocessed to form a program 33. To create a dropdown list on a page,
b) It is interpreted and the result is displayed on the screen the tags are used
c) Contains instructions for the browser to work a. <SELECT> e <DROPDOWN>
d) Send data to the Internet b.<SELECT> e <OPTION>
c. <OPTION> and <TEXT>
25. The appropriate name for saving the main page of d. <DROPDOWN> e <TEXT>
a website for the Internet is:
[Link] 34. To include a program in Javascript in
b) [Link] HTML documents use tags
c)[Link] a. <JSCRIPT></JSCRIPT>
d)[Link] b.<SCRIPT></SCRIPT>
c. <JAVA></JAVA>
26. TCP/IP is d. <JS></JS>
a) An Internet performance metric
Real-time communication on the Internet 35. onBlur,onClick, eonFocussão:
c) A set of protocols used to send a. element handlers
data in packages b. property handlers
d) A program that supports the characteristics of c. method handlers
HTML [Link] handlers

27. With which tag is the title of a page defined 36. The element allows a set of _____
HTML? be interpreted as a ____
a. h1 a. Links, menu
b. head [Link], menu
[Link] [Link], section
d. meta [Link], section
37. Choose the HTML TAG for the larger header
a.<h1>
b. <h6> 43. Choose the correct HTML TAG to align text to
c. <head> right in a table cell
d. <heading>
e. none of the above a. <tdright>
b. <td align=right>
38. The technology that relates to a URI type address c.<td valign="right">
with an IP address is: d.<td halign="right">
a. The WWW (World Wide Web).
b. The DNS (Domain Name System). Increasing the value of cellpadding will cause:
c. A Firewall. a. increase in the distance between the cell boundary and
d.O IPv4 Address. your content
increase the space between cells
39. How to create a link for email? to increase the text of the table
a. <a href="[Link] You're welcome

b.<email href="xxx@yyy">
c.<mail>xxx@yyy</mail> 45. About the attribute, it serves to:
d.<a href="xxx@yyy"> e. none of the above a. Uniquely identify an HTML element
[Link] an event to be assigned to an element
40. How do you open a link in a new window? [Link] a definition of the formatting to be applied
a.<a href="url" target="new"> d. All of the above
b. <a href="url" target="_blank">
c.<a href="url" new> 46. The DIV element is a:
none of the above event
[Link] element
41. How do you create a list with numbered items? c. block element
a.<list> [Link]
b.<ul>
c. <ol> 47. The DIV elements can _____ one or more
none of the above elements _____
[Link], HTML
[Link] and text that are directly visible on [Link], SPAN
Where are pages placed in the document? c. Conter, SPAN
a. Head [Link] of the above
b. Body
In the title
d. Only in SCRIPT files

48. Observe the program below.

This set of instructions:


a. They indicate to the browser that it should look for the local file [Link] that contains the formatting instructions for the
document.
b. They indicate to the browser that it must request the file [Link] from the server in order to display correctly the
document.
c. The instruction of the 3rd line has an error and therefore the document is displayed according to the formats defined by
browser.
d. There is an error because it does not implement the document type definition (DTD).
49. An HTML document consists of:
[Link] mandatory parts, the document type definition (DTD), the header (HEAD), and the body of the document
(BODY).
[Link] parts, not all mandatory, the document type definition (DTD), the header (HEAD), and the body of
document (BODY).
[Link] mandatory parts, the document header (HEAD) and the document body (BODY).
[Link] a part of the document, which does not need to be marked as body (BODY).

50. The HTTP protocol (Hyper-Text Transfer Protocol) is:


a. An application layer protocol that allows the implementation of hypermedia information systems in a way
colaborativa e distribuída.
b. A protocol that defines the formatting of a hyper-media document.
A protocol that defines the method of transmission of a hypermedia document between a server and a client.
d. None of the hypotheses described above.

51. The HyperText Markup Language is:


A language intended for document publishing, which integrates information related to content and structure of
document.
A language intended for the publication of documents, which may depend on external information for correctness.
data visualization.
c. The language that supports the global web of documents and information (an important component of the WWW) and
A protocol developed by the World Wide Web Consortium.
[Link] of the above

52. Style sheets are additional documents that:


They serve as support for a WWW document.
b. They contain the formatting instructions that are applicable to a PDF document.
c. They contain the instructions that are common to a set of HTML documents.
These are user-defined documents to allow the proper formatting of a hypermedia document.

Question A B C D Questão A B C D
1 27
2 28
3 29
4 30
5 31
6 32
7 33
8 34
9 35
10 36
11 37
12 38
13 39
14 40
15 41
16 42
17 43
18 44
19 45
20 46
21 47
22 48
23 49
24 50
25 51
26 52
Question A B C D Question A B C D
1 X 27 X
2 X 28 X
3 X 29 X
4 X 30 X
5 X 31 X
6 X 32 X
7 X 33 X
8 X 34 X
9 X 35 X
10 X 36 X
11 X 37 X
12 X 38 X
13 X 39 X
14 X 40 X
15 X 41 X
16 X 42 X
17 X 43 X
18 X 44 X
19 X 45 X
20 X 46 X
21 X 47 X
22 X 48 X
23 X 49 X
24 X 50 X
25 X 51 X
26 X 52 X

You might also like