Question:- Among the following statements based on the difference between lists and tuples, which one statement is TRUE? Statement 1: List is a sequence data structure, whereas Tuple is not. Statement 2: Lists are immutable; however, Tuples are mutable. Statement 3: Tuple is a sequence data structure, whereas List is not. Statement 4: Tuples are immutable; however, Lists are mutable. Options: Statement 1 Statement 4 Statement 2 Statement 3
Answer:- Answer: B: Statement 4 Explanation: Apart from many similarities, one of the significant differences between the two is that the Lists are mutable, whereas Tuples are immutable. This statement implies that we can modify or change the values of a list; however, we cant alter the values of a Tuple.
Question:- What are Tags?
Answer:- HTML tags are composed of three things: an opening tag, content and ending tag. Some tags are unclosed tags. HTML documents contain two things: - content, and - tags When a web browser reads an HTML document, the browser reads it from top to bottom and left to right. HTML tags are used to create HTML documents and render their properties. Each HTML tags have different properties. Syntax: content Content is placed between tags to display data on the web page.
Question:- What is formatting in HTML?
Answer:- The HTML formatting is a process of format the text for a better look and feel. It uses different tags to make text bold, italicized, underlined.
Question:- The HTML contains six types of headings which are defined with the to
to tags. Each type of heading tag displays different text size from another. So, is the largest heading tag and is the smallest one. For example:
is the largest heading tag and is the smallest one. For example:
Answer:- The HTML contains six types of headings which are defined with the to
to tags. Each type of heading tag displays different text size from another. So, is the largest heading tag and is the smallest one. For example: Heading no. 1
, Heading no. 2
, Heading no. 3
, Heading no. 4
, Heading no. 5
, Heading no. 6
is the largest heading tag and is the smallest one. For example: Heading no. 1
, Heading no. 2
, Heading no. 3
, Heading no. 4
, Heading no. 5
, Heading no. 6
Heading no. 1
,Heading no. 2
,Heading no. 3
,Heading no. 4
,Heading no. 5
,Heading no. 6
Question:- How to create a hyperlink in HTML?
Answer:- The HTML provides an anchor tag to create a hyperlink that links one page to another page. These tags can appear in any of the following ways: Unvisited link - It is displayed, underlined and blue. Visited link - It is displayed, underlined and purple. Active link - It is displayed, underlined and red.
Question:- Which HTML tag is used to display the data in the tabular form?
Answer:- It defines a table.,
| It defines a header cell in a table., | It defines a cell in a table., |
|---|
