प्रश्न और उत्तर का अभ्यास करें
8प्र: What is session storage and how can you create one? 1327 05b5cc7d5e4d2b419777514ee
5b5cc7d5e4d2b419777514ee- उत्तर देखेंउत्तर छिपाएं
- Workspace
- SingleChoice
उत्तर :
व्याख्या :
Session storage is same like local storage but the data is valid for a session. In simple words the data is deleted as soon as you close the browser. To create a session storage you need to use “sessionStorage.variablename” . In the below code we have a created a variable called as “clickcount”. If you refresh the browser the count increases. But if you close the browser and start again the “clickcount” variable starts from zero. if(sessionStorage.clickcount) { sessionStorage.clickcount=Number(sessionStorage.clickcount)+1; } else { sessionStorage.clickcount = 0; }
प्र: What are meta tags used for? 1007 05b5cc7d5e4d2b419777514ed
5b5cc7d5e4d2b419777514ed- उत्तर देखेंउत्तर छिपाएं
- Workspace
- SingleChoice
उत्तर :
व्याख्या :
-To store information usually relevant to browsers and search engines. -To only store information usually relevant to browsers -To only store information about search engines. -To store information about external links
प्र: How would you automatically transfer your visitors to a new web page? 1652 05b5cc7d5e4d2b419777514ec
5b5cc7d5e4d2b419777514ec- उत्तर देखेंउत्तर छिपाएं
- Workspace
- SingleChoice
उत्तर :
व्याख्या :
- You can do it with the help of meta tag mentioned below: - Place this tag between
. - It will load yousite.com in 2 seconds.प्र: You want only a vertical scrollbar and no horizontal scrollbar on your page. How would you do it? 1474 05b5cc7d5e4d2b419777514eb
5b5cc7d5e4d2b419777514eb- उत्तर देखेंउत्तर छिपाएं
- Workspace
- SingleChoice
उत्तर :
व्याख्या :
- This can be done by defining the frame with SCROLLING = auto and having content to just fit into this frame. - SCROLLING="yes" gets the scroll bar on both the sides, even when not needed. - SCROLLING="no" doesn’t get the scrollbars at all, even when they are needed.
प्र: What are new Media Elements in HTML5? 873 05b5cc7d5e4d2b419777514ea
5b5cc7d5e4d2b419777514ea- उत्तर देखेंउत्तर छिपाएं
- Workspace
- SingleChoice
उत्तर :
व्याख्या :
Following are the New Media Elements are present in HTML5:
प्र: What is the purpose of canvas in HTML? 1346 05b5cc7d5e4d2b419777514e9
5b5cc7d5e4d2b419777514e9- उत्तर देखेंउत्तर छिपाएं
- Workspace
- SingleChoice
उत्तर :
व्याख्या :
Canvas is an element that is used for the graphics for the web page. It uses JavaScript to bring the graphics functionality live. It allows easy way to draw the graphics and use different types of tools to create drawing on the web page. Canvas is just a rectangular area that controls the pixel of every element that is used in the web page. Canvas uses methods like paths, circles, etc. The canvas element will be used as follows: The canvas element includes id, width and height settings and with the javascript it gets used like:
प्र: What are three ways to reduce page load time? 1513 05b5cc7d5e4d2b419777514e8
5b5cc7d5e4d2b419777514e8- उत्तर देखेंउत्तर छिपाएं
- Workspace
- SingleChoice
उत्तर :
व्याख्या :
There are many answers here: Reduce image sizes, remove unnecessary widgets, HTTP compression, put CSS at the top and script references at the bottom or in external files, reduce lookups, minimize redirects, caching, etc.
प्र: The instrument of instructions contained in the Government of India Act, 1935 has been incorporated in the Constitution of India in the year 1950 as ______ 1563 05b5cc7d5e4d2b419777514e3
5b5cc7d5e4d2b419777514e3- 1Fundamental Rightsfalse
- 2Directive Principles of the State Policyfalse
- 3Fundamental Duitiesfalse
- 4Emergency Provisionstrue
- उत्तर देखेंउत्तर छिपाएं
- Workspace
- SingleChoice
उत्तर : 4. "Emergency Provisions"
व्याख्या :
Answer: D) Emergency Provisions Explanation:

