Group “A”
Brief Answer Questions:
1.) Why is <head> tag used in HTML file?
Ans: The <head> tag is a container for metadata (data about data) and is placed between the <html> tag and the <body> tag. Metadata is data about the HTML document. Metadata is not displayed. Metadata typically define the document title, character set, styles, scripts, and other meta information.
2.) List HTML elements that are used to add quotations or citations in a web page,
Ans: In HTML, we can use the <blockquote> and <q> elements to represent quotations, and the <cite> element to define the source or reference of a citation.
3.) What is the use of <span> element?
Ans: In HTML, the span element is a generic inline container element. It is used to wrap sections of text for styling purposes or to add attributes to a section of text without creating a new line of content.
4.) How link from one part of the page to another part of the same page is created?
Ans: Link from one part of the page to another part of the same page can be created using following steps:
Step 1 – Assigning a name. At the initial step we assign a name to the section of the page we want to jump to
.Step 2- Creating an anchor link. Then, we create an anchor tag, add an id attribute to it and specify the given name. ..
. Step 3- Creating a hyperlink
5.) What is the use of <img> tag?
Ans: The <img> tag is used to embed an image in an HTML page. Images are not technically inserted into a web page; images are linked to web pages. The <img> tag creates a holding space for the referenced image.
6.) List the possible values of overflow property.
Ans: The overflow property has the following values:
visible
– Default. The overflow is not clipped. The content renders outside the element’s boxhidden
– The overflow is clipped, and the rest of the content will be invisiblescroll
– The overflow is clipped, and a scrollbar is added to see the rest of the contentauto
– Similar toscroll
, but it adds scrollbars only when necessary.
7.) How can you change the color of visited link using CSS?
Ans:
8.) In Javascript , if u have not given any value in variable then what value that variable will hold?
Ans: A variable declared without a value in Javascript will have the value undefined .Undefined, on the other hand, means the variable has been declared, but its value has not been assigned.
9.)