10 HTML Questions

10 HTML Questions

What does HTML stand for?

a) Hyper Transfer Markup Language

b) Hyper Text Makeup Language

c) Hyper Text Markup Language

d) High Transfer Markup Language

Answer: c) Hyper Text Markup Language

Which HTML tag is used to create a hyperlink?

a) <link>

b) <a>

c) <href>

d) <url>

Answer: b) <a>

What is the correct HTML tag for inserting a line break?

a) <lb>

b) <br>

c) <newline>

d) <break>

Answer: b) <br>

Which HTML element is used to define the structure of an HTML document, such as headings, paragraphs, and lists?

a) <structure>

b) <content>

c) <body>

d) <html>

Answer: c) <body>

What is the purpose of the HTML <meta> tag?

a) To insert images into a webpage

b) To define the character encoding of the document

c) To create a hyperlink

d) To add a background color to the page

Answer: b) To define the character encoding of the document

Which HTML element is used to create an ordered (numbered) list?

a) <ol>

b) <ul>

c) <li>

d) <dl>

Answer: a) <ol>

What does HTML stand for in terms of web development?

a) Hyper Transfer Markup Language

b) Hyper Text Makeup Language

c) High Transfer Markup Language

d) Hyper Text Markup Language

Answer: d) Hyper Text Markup Language

Which HTML tag is used for creating a table?

a) <table>

b) <grid>

c) <tab>

d) <tbl>

Answer: a) <table>

Which HTML tag is used to define a hyperlink that opens in a new browser window or tab?

a) <a>

b) <link>

c) <target>

d) <new>

Answer: c) <target>

What HTML tag is used to insert a horizontal line or a thematic break in a webpage?

a) <line>

b) <rule>

c) <divider>

d) <hr>

Answer: d) <hr>