Question:- How To Reduce Page Loading Time?
Answer:- Tips to reduce: 1. Check for the Current Speed of the Website. 2. Optimize the Images. 3. Dont Scale Down the Images. 4. Compress and Optimize the Content. 5. Put Stylesheet References at Top. 6. Put Script References at Bottom. 7. Place JavaScript and CSS in External Files. 8. Minimize HTTP Requests.
Question:- Name The Form Elements That Support Media Content In HTML5?
Answer:- 1. < audio> 2. < video> 3. < source> 4. < embed> 5. < track>
Question:- Mention Some Advantages Of HTTP/2 As Compared With HTTP 1.1?
Answer:- Advantages: 1. Improvement of web positioning 2. HTTP headers data compression 3. Prioritization of request 4. Less broadband consumption
Question:- List The New Form Elements Introduced In HTML5?
Answer:- 1. < keygen> – It is used to generates an encryption key. 2. < output> – It is used to define the result of an expression. 3. < datalist> – It will specify a list of options for input controls. 4. < progress> – It will head in the direction of 100% of the max value. 5. < meter> – It provides for a gauge, displaying the general value within a range.
Question:- Define SVG And Why Is It Used?
Answer:- SVG means scalable vector graphics, and it is defined as a file format that will allow us to display vector images on the website. Meaning that we can scale an SVG image up and down as required without losing any of its quality and making it a great choice for a responsive web design.
Question:- Define An ETag And How Does It Work?
Answer:- The ETag or an entity tag is part of the HTTP, which is the protocol for the World Wide Web(WWW). It is one of several techniques that an HTTP provides for a Web cache validation, That will allow a client to make conditional requests. An ETag is an opaque identifier that is assigned by the Web server to a specific version of a resource that is found at a URL.
Question:- Why Do We Use Canvas In HTML?
Answer:- < canvas> can be defined as an HTML element mainly used to draw graphics through scripting (usually JavaScript). It can be used to draw graphs, combine photos, or create simple animations.
Question:- Explain Long Polling?
Answer:- Long polling can be defined as a mechanism where the server will elect to hold a client’s connection open for long as possible and delivering a response only after the data becomes available.
Question:- Is There Any Default Border Size Of A Canvas?
Answer:- There is no default border size of a Canvas. You have to adjust using the CSS.
Question:- Explain What DTD Is?
Answer:- A DTD (Document Type Definition (DTD) ) defines the structure, legal elements and attributes of the XML document.
Question:- Name Some Of The New Features That Are Introduced In CSS3?
Answer:- 1. Rounded corners 2. Animation 3. Custom layout 4. Media queries
Question:- Name The New APIs Provided By HTML5?
Answer:- 1. Constraint validation API 2. History API 3. Media API 4. Text track API 5. Application cache API 6. Data transfer API 7. User interaction API 8. Command API
Question:- Define Responsive Web Design (RWD) In HTML And CSS?
Answer:- Web pages are usually viewed using many various devices: desktops, tablets, and phones. It is known as responsive web design when we use HTML and CSS to resize, shrink, hide, enlarge, or move the content in order to make it look good on any screen.
Question:- What Tag Is Used For A Multi-Line Text Input Control In HTML?
Answer:- For multi-line text input control, We can use the “textarea tag.”
