Question Bank

246 approved questions from the community

Which tag is used to insert a simple line break in an HTML document?

EASY
MULTIPLE CHOICE
20s
HTML
by Mohamed

Which of these are examples of semantic HTML tags?

MEDIUM
MULTIPLE RESPONSE
40s
HTML
by Mohamed

The <em> tag should be used when you want to emphasize text, whereas the <i> tag is typically used for styling text in italics without added semantic weight.

MEDIUM
TRUE FALSE
25s
HTML
by Mohamed

What is the primary difference between the <b> and <strong> tags?

EASY
MULTIPLE CHOICE
30s
HTML
by Mohamed

What are data-* attributes in HTML5 used for?

MEDIUM
MULTIPLE CHOICE
30s
HTML
by Mohamed

What is the role of the 'lang' attribute in the <html> tag?

MEDIUM
MULTIPLE CHOICE
35s
HTML
by Mohamed

In HTML, comments are added by wrapping text between <!-- and --> and they are not visible to the user in the browser.

EASY
TRUE FALSE
20s
HTML
by Mohamed

Where is the recommended placement for external <script> tags to ensure faster page rendering?

EASY
MULTIPLE CHOICE
30s
HTML
by Mohamed

How do you link an external CSS file to an HTML document?

EASY
MULTIPLE CHOICE
30s
HTML
by Mohamed

Which of these are commonly used meta tags in HTML?

MEDIUM
MULTIPLE RESPONSE
40s
HTML
by Mohamed

What is the primary difference between the <head> and <body> tags?

MEDIUM
MULTIPLE CHOICE
35s
HTML
by Mohamed

Where should the Document Type Declaration (<!DOCTYPE html>) be placed?

EASY
MULTIPLE CHOICE
30s
HTML
by Mohamed

Which tag serves as the root element of an HTML page?

EASY
MULTIPLE CHOICE
30s
HTML
by Mohamed

Which of the following are core functionalities of HTML?

MEDIUM
MULTIPLE RESPONSE
45s
HTML
by Mohamed

What does HTML stand for and what is its primary purpose?

EASY
MULTIPLE CHOICE
30s
HTML
by Mohamed

Which of the following are common types of database indexes?

MEDIUM
MULTIPLE RESPONSE
40s
Database
by Mohamed

What is a primary difference between the WHERE and HAVING clauses in SQL?

MEDIUM
MULTIPLE CHOICE
40s
Database
by Mohamed

What is the N+1 query problem?

HARD
MULTIPLE CHOICE
45s
Database
by Mohamed

Prepared statements help defend against SQL injection by separating the SQL code structure from the data input values.

EASY
TRUE FALSE
20s
Database
by Mohamed

Which SQL clause combination is used to identify duplicate records in a table?

MEDIUM
MULTIPLE CHOICE
35s
Database
by Mohamed
PreviousPage 4 of 13Next