Appearing for an interview may be intimated and if you are unprepared too may be devastated and lose confidence in front of the interviewer. This article will provide some frequently asked interview questions & answer for web developers to succeed in the interviews you need better knowledge of web page coding and design.
Html stands for hypertext markup language
Html use to display/describe the structure of a webpage.
Ans: It is a declaration that defines this script as an HTML5 script.
Ans: The list types in HTML are as below
Order list: The order list uses <ol> tag and displays elements in a numbered format
Unorder list: The unorder list uses <ul> tag and displays elements in a bulleted format
Definition list: The detonation list uses <dl>,<dt>,<dd> tags and displays elements in definition form like in a dictionary.
Ans: Attributes are the properties that can be added to the HTML tag that change the way the tag behaves or is displayed.
Ans: It scrolls the image or text up, down, left, right automatically.
Ans: We can insert a comment in HTML start with a ‘< ‘sign and end with a ‘>’ sign.
Ex: <! —hello–>
Ans: The anchor tag <a> to create a hyperlink in HTML that links between one page to another page.
Ans: the image map can be used for defining shapes in the image that are made part of the image mapping process.
Ans:There are six types of heading tag. It is upto <h1> to <h6>.
Ans: we insert an image in html webpage by using bellow code :
<img src=” img.jpeg”/>
Ans: we use anchor tag <a> to create a hyperlink in HTML that links one page to another page. The hyperlink can be added to the image.
Ans: It is the use of HTML markup to reinforce the semantic or meaning of the content.
Ans:HTML SVG is used to define the vector or raster graphics .svg images & their behaviour are defined in an XML text file.
For: loops touch a code for x number times in a repetition
For..in loops through an object for properties
While: goes through inner code, a specified condition is true
Do…While: goes through the inner code while a condition is true
Single HTML element. (Inspect the element in the Developer Tool. You can see only the canvas tag) Multiple graphic elements, which become part of the DOM
Resolution dependent Resolution independent
Work well for small-scale rendering applications Performs better for large-scale rendering applications
Ans: The new APIs are –
Text track API
Application cache API
Data transfer API
User interaction API
Constraint validation API
Ans: The scope defines the accessibility of the functions and variables in an application. There are two types of scopes: local and global.
|Local storage||Session storage|
|No expiry is there for stored data.||The object is valid for only a single session.|
|Data is not deleted upon the closure of the window.||The object is immediately deleted upon closing the window.|
Ans: There are mainly 3 types of CSS present :
Inline CSS: it supports the addition of CSS inline, alongside HTML elements
External CSS: it used to import an external CSS file to the HTML document
Embedded CSS: it used to add CSS style by making use of the <style> attribute
It is used with the rule in the inline element, which requires styling.
It is used to find and Select HTML elements based on factors like name, ID, attribute…
Ans: pseudo-class are used as a popular technique in CSS to change the style of an element which this element changes its state.
Ans: It is used to define styles in CSS, which are responsive based on a variety of shapes and sizes of the viewing window.
Ans: There are the methods used to provide effects in jQuery:
Ans: TML 5 comes with several new APIs