DSSSB TGT / PGT · Computer Science

Web Technologies Previous Year Questions

64 Web Technologies (Computer Science) questions asked in DSSSB TGT / PGT previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.

  • 64 questions
  • Official answer key
  • Free

Other Computer Science topics

Q1From DSSSB TGT Computer Science Practice Set 5
In order to interpret XML documents, you need to :
  1. AUse standardized predefined tags
  2. BSpecify the tags separately in a file
  3. CHave a document type definition for the tags
  4. DUse standardized HTML tags
Show answerHide answer

Correct answer: (C) Have a document type definition for the tags

Explanation

XML has no predefined tags, so the meaning and allowed structure of user-made tags must be described in a Document Type Definition (DTD) or schema.

Q2From DSSSB TGT Computer Science Practice Set 5
XML is a Subset of :
  1. AHTML
  2. BSGML
  3. CDGML
  4. DGML
Show answerHide answer

Correct answer: (B) SGML

Explanation

XML is a simplified subset of SGML (Standard Generalized Markup Language), the meta-language from which HTML was also derived.

Q3From DSSSB TGT Computer Science Practice Set 5
Prolog in XML contains an XML declaration like
  1. A<?xml version="1.0">
  2. B<!xml version="1.0">
  3. C</xml version="1.0">
  4. D<\xml version="1.0">
Show answerHide answer

Correct answer: (A) <?xml version="1.0">

Explanation

The XML declaration in the prolog starts with <?xml, as in <?xml version="1.0"?>. Option A is the only one that uses the <? processing-instruction form.

Q4From DSSSB TGT Computer Science Practice Set 5
Consider the following statements respect to JavaScript : (I) A variable is created using the keyword. (II) JavaScript is untyped language. Which of the above are true ?
  1. ANeither (I) not (II)
  2. B(I) only
  3. C(II) only
  4. DBoth (I) and (II)
Show answerHide answer

Correct answer: (D) Both (I) and (II)

Explanation

Both statements are true as intended: in JavaScript a variable is created with the var keyword (the word is missing from the question), and JavaScript is loosely (dynamically) typed, so variables have no fixed type.

Q5From DSSSB TGT Computer Science Practice Set 5
A valid XML document means : (a) The document must be well formed (b) The document must apply to the rules of the DTD
  1. ABoth (a) and (b) are true
  2. BOnly (a) is true
  3. COnly (b) is true
  4. DBoth (a) and (b) are false
Show answerHide answer

Correct answer: (A) Both (a) and (b) are true

Explanation

A valid XML document must be well-formed and must also follow the rules of its DTD (or schema), so both statements are true.

Q6From DSSSB TGT Computer Science Practice Set 5
What will be the output of the following HTML code snippet? <IMG SRC = "FLOWER.JPG" HEIGHT = 100 WIDTH = 40 BORDER = 10>
  1. AThe image flower.jpg will be displayed with 100 pixel height 40 pixel width and a border with RGB code as 10
  2. BThe image flower.jpg will be displayed as a 100 px by 40px image with a 10px thick border
  3. CThe image flower.jpg will be displayed as a 40 cm by 100 cm image with a 10 cm thick border
  4. DThe image flower.jpg will be displayed as a 100 mm by 40 mm image with a 10 mm thick border
Show answerHide answer

Correct answer: (B) The image flower.jpg will be displayed as a 100 px by 40px image with a 10px thick border

Explanation

In HTML, HEIGHT, WIDTH and BORDER values are in pixels, so the image appears 100 px high and 40 px wide with a 10 px border.

Q7From DSSSB TGT Computer Science Practice Set 5
Which of the following is the correct code to create a framed webpage as in the figure below? Figure: the window is split into two rows: the top row (25%) is Frame A; the bottom row (75%) is split into two equal columns (50% each): Frame B on the left and Frame C on the right.
  1. A<FRAMESET ROWS = "25%, 75%"> <FRAME SRC = "A.html"> <FRAMESET COLS = "50%, 50%"> <FRAME SRC = "B.html"> <FRAME SRC = "C.html"> </FRAMESET> </FRAMESET>
  2. B<FRAMESET COLS = "25%, 75%"> <FRAME SRC = "A.html"> <FRAMESET ROWS = "50%, 50%"> <FRAME SRC = "B.html"> <FRAME SRC = "C.html"> </FRAMESET> </FRAMESET>
  3. C<FRAME ROWS = "25%, 75%"> <FRAMESET SRC = "A.html"> <FRAME COLS = "50%, *"> <FRAMESET SRC = "B.html"> <FRAMESET SRC = "C.html"> </FRAME> </FRAME>
  4. D<FRAME COLS = "25%, 75%"> <FRAMESET SRC = "A.html"> <FRAME ROWS = "50%, *"> <FRAMESET SRC = "B.html"> <FRAMESET SRC = "C.html"> </FRAME> </FRAME>
Show answerHide answer

Correct answer: (A) <FRAMESET ROWS = "25%, 75%"> <FRAME SRC = "A.html"> <FRAMESET COLS = "50%, 50%"> <FRAME SRC = "B.html"> <FRAME SRC = "C.html"> </FRAMESET> </FRAMESET>

Explanation

The outer FRAMESET ROWS="25%,75%" makes two rows: Frame A in the first row, and a nested FRAMESET COLS="50%,50%" holding Frames B and C in the second. Options C and D swap FRAME and FRAMESET.

Q8From DSSSB TGT Computer Science Practice Set 4
Which of the following is not a valid variable name in JavaScript ?
  1. ANumber10
  2. B_myNumber
  3. C10Number
  4. Dmy_Number
Show answerHide answer

Correct answer: (C) 10Number

Explanation

JavaScript identifiers cannot start with a digit, so 10Number is invalid. Names can start with a letter, _ or $.

Q9From DSSSB TGT Computer Science Practice Set 4
The style definitions are normally saved in external files that have the extension as :
  1. A.html
  2. B.css
  3. C.js
  4. D.stl
Show answerHide answer

Correct answer: (B) .css

Explanation

External style sheets are saved with the .css extension and linked to HTML pages with the <link> tag.

Q10From DSSSB TGT Computer Science Practice Set 3
Which of the following is the default scripting language in Active Server Pages (ASP)?
  1. AJavaScript
  2. BPHP
  3. CHTML
  4. DVBScript
Show answerHide answer

Correct answer: (D) VBScript

Explanation

Classic ASP uses VBScript as its default scripting language. JScript can be chosen with a page directive.

Q11From DSSSB TGT Computer Science Practice Set 3
Which of the following statement is false with respect to CSS ?
  1. AIt Stands for Cascading Style Sheets
  2. BIt can control the layout of multiple webpages with a single file
  3. CCSS describes how HTML elements are Stored within tags
  4. DCSS describes how HTML elements are displayed on Screen
Show answerHide answer

Correct answer: (C) CSS describes how HTML elements are Stored within tags

Explanation

CSS describes how HTML elements are displayed (presented), not how they are stored within tags. So (C) is false.

Q12From DSSSB TGT Computer Science Practice Set 3
Which of the following is not a feature of XML ?
  1. AXML is designed to carry data
  2. BXML is a complement to HTML
  3. CXML can separate design from HTML
  4. DXML can be used to create new languages
Show answerHide answer

Correct answer: (C) XML can separate design from HTML

Explanation

XML separates data from HTML, so it does not separate design (presentation) from HTML. The other options are standard XML features.

Q13From DSSSB TGT Computer Science Practice Set 3
The function of the XML Parser is to
  1. AConvert XML content into HTML content.
  2. BConvert XML content into DHTML content.
  3. CConvert XML content into XML DOM content.
  4. DConvert XML content into binary code.
Show answerHide answer

Correct answer: (C) Convert XML content into XML DOM content.

Explanation

An XML parser reads an XML document and turns it into an XML DOM object (a tree) that programs such as JavaScript can access and change.

Q14From DSSSB TGT Computer Science Practice Set 3
Consider the following statements respect to JavaScript : (I) A variable is created using the var keyword. (II) JavaScript is untyped language. Which of the above are true ?
  1. ANeither (I) not (II)
  2. B(I) only
  3. C(II) only
  4. DBoth (I) and (II)
Show answerHide answer

Correct answer: (D) Both (I) and (II)

Explanation

JavaScript variables can be declared with var, and JavaScript is untyped (dynamically typed), so the same variable can hold any type. Both statements are true.

Q15From DSSSB TGT Computer Science Practice Set 3
Which of the following is the most appropriate format for graphics that are to be embedded within an Internet documents?
  1. AHTML
  2. BBMP
  3. CTIFF
  4. DGIF
Show answerHide answer

Correct answer: (D) GIF

Explanation

GIF is a compressed, widely supported image format made for the web. BMP and TIFF files are large and not suited to web pages, and HTML is not a graphics format.

Q16From DSSSB TGT Computer Science Practice Set 2
To declare the version of XML. the correct syntax is :
  1. A</xml version = '1.0'/>
  2. B<?xml version = "1.0"/>
  3. C<*xml version = '1.0'/>
  4. D<?xml version = 1.0"/>
Show answerHide answer

Correct answer: (B) <?xml version = "1.0"/>

Explanation

The XML declaration is a processing instruction: <?xml version="1.0"?>. It begins with <?xml and the version value is quoted. Option B is the closest to this form.

Q17From DSSSB TGT Computer Science Practice Set 2
Rasleen is adding links to her company website. She wants to change the link colour as soon as the visitor's mouse hoven over the link and wants it should retain the original colour when visitor's mouse moves to any other location away from the link. Which of the following two event handless will be required to write a JavaScript code to achieve the same.
  1. AOnMouseOver and OnMouseExit
  2. BOnMouseOver and OnMouseOut
  3. COnMouseIn and OnMouseOut
  4. DOnMouseIn and OnMouseExit
Show answerHide answer

Correct answer: (B) OnMouseOver and OnMouseOut

Explanation

onmouseover fires when the pointer enters the link, and onmouseout fires when it leaves. There are no OnMouseIn or OnMouseExit events.

Q18From DSSSB TGT Computer Science Practice Set 1
When an ASP.NET file is placed on a an IIS server and viewed through a browser, the resulting HTML page contains?
  1. AA mix of ASP.NET and HTML code
  2. BAll ASP.NET code
  3. CAll HTML code
  4. DAs much ASP.NET code as is in the ASP.NET file
Show answerHide answer

Correct answer: (C) All HTML code

Explanation

ASP.NET code runs on the IIS server, and only the resulting HTML is sent to the browser. Viewing the page source shows pure HTML.

Q19DSSSB PGT Computer Science (Technical), 11 Jul 2021
A collection of web pages is known as ________.
  1. Awebsite
  2. Bweb server
  3. CWeb world
  4. DWeb tool
Show answerHide answer

Correct answer: (A) website

Explanation

A website is a collection of related web pages under one domain.

Q20DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is incorrect regarding user-friendly website?
  1. AIt should have faster loading time
  2. BIt should be easily accessible
  3. CIt should have browser consistency
  4. DIt should be Cluttered
Show answerHide answer

Correct answer: (D) It should be Cluttered

Explanation

A user-friendly website should load fast, be accessible and look consistent across browsers. A cluttered design hurts usability.

Q21DSSSB PGT Computer Science (Technical), 11 Jul 2021
Which of the following is false with reference to static website?
  1. ASame content is loaded everytime the page is loaded
  2. BIt is loaded at a faster speed
  3. CContent change at runtime
  4. DNo interaction
Show answerHide answer

Correct answer: (C) Content change at runtime

Explanation

A static website serves fixed content that is the same on every load. Content changing at runtime is a feature of dynamic websites.

Q22DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is tag in HTML?
  1. AIt contains the address of the webpage.
  2. BIt contains the number of nested tags in the page.
  3. CIt contains information about the webpage.
  4. DIt contains the number of tags in the web page.
Show answerHide answer

Correct answer: (C) It contains information about the webpage.

Explanation

The tag described here seems to be <meta> (the tag name is missing in the source). It holds information about the page, such as description, keywords and author.

Q23DSSSB PGT Computer Science (Technical), 11 Jul 2021
What is image map in HTML?
  1. AIt is the backup copy of the image
  2. BIt is a special image in which different area point to different locators on the web
  3. CIt contains the properties of the image
  4. DIt contains the number of pixels in the image
Show answerHide answer

Correct answer: (B) It is a special image in which different area point to different locators on the web

Explanation

An image map is one image with clickable regions (<map>/<area>), where each region links to a different URL.

Q24DSSSB TGT Computer Science (Technical), 8 Aug 2021, Shift 2
Which colour specification in CSS use three numbers representing the hue (form 0 to 360 degree), saturation and lightness percentage?
  1. AHexadecimal
  2. BRGB
  3. CHSL
  4. DAlpha
Show answerHide answer

Correct answer: (C) HSL

Explanation

HSL stands for Hue, Saturation and Lightness, for example hsl(120, 100%, 50%). Hue is an angle from 0 to 360°, and saturation and lightness are percentages.

Q25DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
Which property of CSS specifies the degree to which text should be emboldened?
  1. AFont-style
  2. BFont-family
  3. CFont-weight
  4. DFont-size
Show answerHide answer

Correct answer: (C) Font-weight

Explanation

font-weight sets how bold the text is (normal, bold, 100-900). font-style sets italic.

Q26DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
Which property of CSS enables to set multiple list properties at once?
  1. AList-style-type
  2. BList-style-image
  3. CList-style-position
  4. DList-style
Show answerHide answer

Correct answer: (D) List-style

Explanation

list-style is the shorthand property that sets list-style-type, list-style-position and list-style-image in one declaration.

Q27DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 3
________ produces a rough outline of what the website will look like when it is done.
  1. AWirefalls
  2. BWireframes
  3. CWebframes
  4. DWebflows
Show answerHide answer

Correct answer: (B) Wireframes

Explanation

A wireframe is a rough skeletal outline of a website's layout made before the actual design and development.

Q28DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 2
Which of the following is/are the open-source software(s)? I. PHP II. Apache
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (B) Only II

Explanation

Apache HTTP Server is open-source software. PHP is also free and open source, but the official key accepts only Apache (Only II).

Q29DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 2
Which of the following statement(s) is/are true about wire framing of website? I. Showing which content will appear on which page II. Showing navigator between pages
  1. AOnly I
  2. BOnly II
  3. CBoth I and II
  4. DNeither I nor II
Show answerHide answer

Correct answer: (C) Both I and II

Explanation

A wireframe is a basic layout of a website that shows what content goes on each page and how the pages link (navigation between them). Both are true.

Q30DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 2
________ URL is used to send electronic mail.
  1. AMailto
  2. BEto
  3. CEmail URL
  4. DEURL
Show answerHide answer

Correct answer: (A) Mailto

Explanation

A mailto: URL (e.g. mailto:abc@example.com) opens the user's email client to send an email.

Q31DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
In JavaScript a ________ function can be defined as a function passed into another function as a parameter.
  1. ACall front
  2. BCall back
  3. CRoll back
  4. DRoll front
Show answerHide answer

Correct answer: (B) Call back

Explanation

A callback function is passed as an argument to another function and called back inside it, e.g. in setTimeout or event handlers.

Q32DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
Which of the following statement(s) is/are correct regarding the strategies required to increase the visibility of e-commerce website? I. The website name should be sensible that it can be guessed. II. Uploading contents like special offers or eye catching information for the regular followers can increase traffic on the website. III. Icons of social networks on the website have no major influence on e-visibility.
  1. AI and II
  2. BII and III
  3. COnly II
  4. DI, II and III
Show answerHide answer

Correct answer: (A) I and II

Explanation

A sensible, easily guessed name and fresh attractive content (offers) increase visibility (I and II). III is false: social network icons do help e-visibility.

Q33DSSSB TGT Computer Science (Technical), 1 Aug 2021, Shift 3
How many different levels of heading does HTML support?
  1. A6
  2. B7
  3. C5
  4. D9
Show answerHide answer

Correct answer: (A) 6

Explanation

HTML has six heading levels, <h1> to <h6>.

Q34DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)
What is the purpose of a web browser's developer tools?
  1. ATo inspect and debug web pages
  2. BTo increase the internet speed
  3. CTo host web pages on the web server
  4. DTo install new web browsers
Show answerHide answer

Correct answer: (A) To inspect and debug web pages

Explanation

Browser developer tools (Elements, Console, Network and so on) let developers inspect HTML/CSS, debug JavaScript and analyse page loading.

Q35DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)
How does one prevent a form from submitting when using JavaScript?
  1. Aevent.preventDefault()
  2. Bform.submit()
  3. Creturn false;
  4. Devent.stopPropagation()
Show answerHide answer

Correct answer: (A) event.preventDefault()

Explanation

Calling event.preventDefault() in the submit handler cancels the browser's default action, the form submission. stopPropagation() only stops the event from bubbling.

Q36DSSSB TGT Computer Science (Technical), 13 Sep 2025, Shift 3 (5:00 PM)
In HTML, which tag is used to create an ordered list?
  1. A<list>
  2. B<li>
  3. C<ul>
  4. D<ol>
Show answerHide answer

Correct answer: (D) <ol>

Explanation

<ol> creates an ordered (numbered) list. <ul> creates an unordered list, and <li> marks each list item.

Q37DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
What will be the output of the following JavaScript code? const email = "example@domain"; const regex = /^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/; console.log(regex.test(email));
  1. AError: Invalid regex
  2. Bundefined
  3. CFALSE
  4. DTRUE
Show answerHide answer

Correct answer: (C) FALSE

Explanation

The regex needs a dot and a 2-4 letter top-level domain after the @ part. "example@domain" has no ".com"-style ending, so test() returns false.

Q38DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
Which method is used to submit a form using JavaScript?
  1. Aform.send()
  2. Bform.submitForm()
  3. Cform.submit()
  4. Dform.post()
Show answerHide answer

Correct answer: (C) form.submit()

Explanation

Calling form.submit() on a form element submits it from JavaScript. send(), submitForm() and post() are not form methods.

Q39DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 3 (5:00 PM)
Which of the following statements is true about JavaScript arrays?
  1. AJavaScript arrays can store elements of multiple data types.
  2. BJavaScript arrays are of fixed size.
  3. CJavaScript arrays cannot be modified once created.
  4. DJavaScript arrays can store elements of only one data type.
Show answerHide answer

Correct answer: (A) JavaScript arrays can store elements of multiple data types.

Explanation

JavaScript arrays are dynamic objects. One array can hold numbers, strings, objects and other types together, and it can grow, shrink or be changed after it is created.

Q40DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
What is one common use of XML?
  1. ATo create dynamic websites
  2. BTo store data in a format that is readable by humans only
  3. CTo enhance the visual appearance of a webpage
  4. DTo represent and exchange data between different systems and platforms
Show answerHide answer

Correct answer: (D) To represent and exchange data between different systems and platforms

Explanation

XML is a platform-independent, self-describing text format used to store, represent and exchange structured data between different systems and applications. Presentation is the job of HTML/CSS.

Q41DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 2 (1:00 PM)
Which of the following are key components of an XML document?
  1. ATags, attributes, and comments
  2. BHTML tags and hyperlinks
  3. CClasses, objects, and functions
  4. DScripts, styles, and images
Show answerHide answer

Correct answer: (A) Tags, attributes, and comments

Explanation

An XML document is made of elements (tags), attributes, text content, comments and a prolog/declaration. HTML tags, classes or scripts are not its components.

Q42DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
What is the primary function of a web browser?
  1. ATo store large amounts of data
  2. BTo send and receive emails
  3. CTo create websites
  4. DTo display and navigate web pages
Show answerHide answer

Correct answer: (D) To display and navigate web pages

Explanation

A web browser retrieves, renders and displays web pages and lets the user navigate between them through links. Creating websites and email are done with other software.

Q43DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
Which of the following DHTML methods is used to change the style of an HTML element using CSS dynamically?
  1. Adocument.createElement("style")
  2. Bdocument.getElementById("element").setCSS()
  3. Celement.style.backgroundColor = "red"
  4. Dwindow.addEventListener("resize")
Show answerHide answer

Correct answer: (C) element.style.backgroundColor = "red"

Explanation

In DHTML, a style is changed at run time by assigning to the element's style object, e.g. element.style.backgroundColor = "red". There is no setCSS() method, and resize is an event, not a styling method.

Q44DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
Which of the following DHTML methods is used to control the browser window size, such as resizing it dynamically via JavaScript?
  1. Awindow.resizeTo()
  2. Bwindow.setSize()
  3. Cwindow.changeSize()
  4. Ddocument.resizeWindow()
Show answerHide answer

Correct answer: (A) window.resizeTo()

Explanation

window.resizeTo(width, height) resizes the browser window to the given size (resizeBy changes it by an amount). setSize(), changeSize() and resizeWindow() do not exist.

Q45DSSSB TGT Computer Science (Technical), 12 Sep 2025, Shift 1 (9:00 AM)
What is the output of the following JavaScript code? let x = 10; if (x > 5) { console.log("Greater"); } else { console.log("Smaller"); }
  1. A"Smaller"
  2. B"undefined"
  3. C"Greater"
  4. DError
Show answerHide answer

Correct answer: (C) "Greater"

Explanation

x is 10, so the condition x > 5 is true and console.log prints "Greater".

Q46DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
With reference to CSS, which of the following allows to change property values smoothly over a given duration?
  1. AMasking
  2. BTransitions
  3. CWeb Fonts
  4. DText Effects
Show answerHide answer

Correct answer: (B) Transitions

Explanation

CSS transitions (transition property) change property values smoothly over a set duration instead of instantly.

Q47DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is an action or occurrence such as a mouse click, a key press, mouse movements or any system- generated notification in ASP.NET?
  1. ADirective
  2. BValidator
  3. CControl
  4. DEvent
Show answerHide answer

Correct answer: (D) Event

Explanation

In ASP.NET an event is an action or occurrence such as a click, key press, mouse movement or system notification that code can respond to.

Q48DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following is NOT a front-end design tool?
  1. AAngular JS
  2. BPHP
  3. CChrome Dev Tools
  4. DjQuery
Show answerHide answer

Correct answer: (B) PHP

Explanation

PHP is a server-side scripting language, so it is not a front-end tool. AngularJS, jQuery and Chrome DevTools are used for front-end work.

Q49DSSSB TGT Computer Science, 25 Jun 2023, Shift 1 (8:30 AM)
Which of the following front-end tools is one of the most widely used CSS extension languages across the world?
  1. AVisual Studio Code
  2. BGit
  3. CTypeScript
  4. DSass
Show answerHide answer

Correct answer: (D) Sass

Explanation

Sass (Syntactically Awesome Style Sheets) is one of the most widely used CSS extension (preprocessor) languages.

Q50DSSSB TGT Computer Science, 24 Jun 2023, Shift 3 (4:30 PM)
Which of the following parameters is used to create a hyperlink in HTML?
  1. ALink
  2. Burl
  3. CPath
  4. DHref
Show answerHide answer

Correct answer: (D) Href

Explanation

The href attribute of the <a> tag gives the destination URL of a hyperlink, as in <a href="page.html">.

How to use these DSSSB TGT / PGT Computer Science questions

Every question here was asked in a real DSSSB TGT / PGT paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full DSSSB TGT / PGT papers as timed tests to check your speed under exam conditions.

More DSSSB TGT / PGT subjects