Question Bank
246 approved questions from the community
Which tag is used to insert a simple line break in an HTML document?
Which of these are examples of semantic HTML tags?
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.
What is the primary difference between the <b> and <strong> tags?
What are data-* attributes in HTML5 used for?
What is the role of the 'lang' attribute in the <html> tag?
In HTML, comments are added by wrapping text between <!-- and --> and they are not visible to the user in the browser.
Where is the recommended placement for external <script> tags to ensure faster page rendering?
How do you link an external CSS file to an HTML document?
Which of these are commonly used meta tags in HTML?
What is the primary difference between the <head> and <body> tags?
Where should the Document Type Declaration (<!DOCTYPE html>) be placed?
Which tag serves as the root element of an HTML page?
Which of the following are core functionalities of HTML?
What does HTML stand for and what is its primary purpose?
Which of the following are common types of database indexes?
What is a primary difference between the WHERE and HAVING clauses in SQL?
What is the N+1 query problem?
Prepared statements help defend against SQL injection by separating the SQL code structure from the data input values.
Which SQL clause combination is used to identify duplicate records in a table?