RWD-Final Flashcards
What is HTML?
HTML stands for Hypertext Markup Language and is used for creating the
structure of web pages.
Who is the father of HTML?
HTML was developed by Tim Berners-Lee.
HTML stands for:
Hypertext Markup Language
What is the correct syntax of doctype in HTML5?
<!DOCTYPE html>
Which of the following is used to read and render an HTML page?
A web browser
Which tag is used for inserting the largest heading in HTML?
<h1>
</h1>
What is DOM in HTML?
DOM stands for Document Object Model. It is a programming interface for web
documents and represents the page so that programs can change the document
structure, style, and content.
In which part of the HTML metadata is contained?
The <head> section of the HTML document contains metadata like title, meta
tags, and links to external resources.
Which element is used to get highlighted text in HTML5?
<mark></mark>
How do we write comments in HTML?
<!-- This is a comment -->
Which of the following elements in HTML5 defines video or movie content?
<video>
</video>
Which HTML tag is used for making the character appearance bold?
<b></b>
Which HTML tag is used to insert an image?
<img></img>
HTML is a subset of?
XML
Which Character is used on a closing tag in HTML?
/
Which of the following HTML code will make an image clickable?
<a><img></img></a>
Among the following, which is the HTML paragraph tag?
<p>
</p>
In HTML, which attribute creates a link that opens in a new window tab?
target=”_blank”
Which HTML element is used for short quotes?
<q></q>
Which of the following HTML tags is used to create an unordered list?
<ul>
</ul>
Which HTML element is used for abbreviation or acronym?
<abbr></abbr>
Which HTML tag adds a row in a table?
<tr>
</tr>
What is the work of <address> element in HTML5?
The <address> element is used
to define contact information for the author/owner of a document.
Which tag is used to create a text area in HTML Form?
<textarea>
</textarea>
To show deleted text, which HTML element is used?
<del></del>
What is the correct syntax of a web address?
http://www.example.com
Which tag is used to create a dropdown in HTML Form?
<select></select>
Which tag is used to create a numbered list in HTML?
<ol>
</ol>
How to create a checkbox in HTML Form?
<input></input>
How to insert Hyperlink in HTML Page?
<a>Link Text</a>
Which extension is used for an HTML file?
.html
Which tag is used to create a blank line in HTML?
<br></br>
Which HTML tag converts plain text into italic format?
<i></i>
What is the use of <hr/> tag in HTML?
The <hr> tag is used to create a thematic
break or horizontal line on a web page.
Which attribute is not essential under <iframe>?
height
Which works similarly to <b> element?</b>
<strong></strong>
Which tag is used to underline text in HTML?
<u></u>
Which attribute specifies a unique alphanumeric identifier to be associated with an
element?
id
Which of the following is an HTML specification used to add more information to
HTML tags?
HTML5 Data Attributes (data-*)
Which HTML element is used for YouTube videos?
<iframe>
</iframe>
Which of the following HTML elements is used for canvas graphics?
<canvas>
</canvas>
The full form of CSS is:
Cascading Style Sheets
How can we change the background color of an element?
Use the
background-color property in CSS.
How can we change the text color of an element?
Use the color property in CSS.
In how many ways can CSS be written in?
CSS can be written inline, in an external
stylesheet, or in a <style> block in the HTML document.</style>
What type of CSS is generally recommended for designing large web pages?
External CSS
Which HTML tag is used to declare internal CSS? -
<style>
</style>How can we select an element with a specific ID in CSS?
Use #elementID in the
CSS selector.
How can we select an element with a specific Class in CSS?
Use .className in the
CSS selector.
In the below code snippet, in what order will the margins be added?
Top, Right, Bottom, Left
Can negative values be allowed in the padding property?
Yes, negative values can
be used in the padding property.
The CSS property used to specify the transparency of an element is?
opacity
How can we specify the spacing between each letter in text in CSS?
Use the
letter-spacing property.
What is the correct syntax for referring to an external CSS?
<link></link>
Which of the following are valid ways to represent a color in CSS?
Hexadecimal
(#RRGGBB), RGB (rgb