Introduction:
Graphical User Interface (GUI) is the First Layer of the Programming Technique. In this Layer Developer Create website design. In this layer, developers have to know about HTML, CSS, and Javascript if developers have a strong grip for this section so they can understand very easily the front-end development.
Here we are discussed more questions and answer for the Fresh developer. This will very helpful for the interview
Front-end Developer Interview Questions and Answers:
Question:What does HTML stand for?
Answer: HyperText Markup Language
Question 1:Who is making the Web standards?
Answer: The World Wide Web Consortium
Question 2: Choose the correct HTML element for the largest heading?
Answer: <h1>
Question 3:Can HTML comments start with <!– and end with –>
Answer: True
Question 4:Block elements are normally displayed without starting a new line?
Answer: False
Question 5:what is the HTML element defines the title of a document?
Answer: <title>
Question 6:What is the HTML attribute specifies an alternate text for an image, if the image cannot be displayed?
Answer: alt
Question 7: What is the correct HTML element for inserting a line break?
Answer: <br>
Question 8:What is the correct HTML for adding a background color?
Answer: <body style=”background-color:yellow;”>
Question 9:What is the correct HTML element to define important text?
Answer: <strong>
Question 10:What is the correct HTML element to define emphasized text?
Answer: <em>
Question 11:What is the correct HTML for creating a hyperlink?
Answer: <a href=”https://databeautiful.ijesir.org/“>Data is Beauty</a>
Question 12:Which character is used to indicate an end tag?
Answer: /
Question 13:What happens if you open the external CSS file in a browser?
Answer: When you try to open the external CSS file in a browser, the browser cannot open the file, because the file has a different extension. The only way to use an external CSS file is to reference it using <link/> tag within another HTML document
Question 14:How can you open a link in a new tab/browser window?
Answer: <a href=”url” target=”_blank”>
Question 15:What is the best elements are all <table> elements?
Answer: <table><tr><td>
Question 16:Inline elements are normally displayed without starting a new line?
Answer: True
Question 17:How can you make a numbered list?
Answer: <ol>
Question 18:How can you make a bulleted list?
Answer: <ul>
Question 19:What is the correct HTML for making a checkbox?
Answer: <input type=”checkbox”>
Question 20:What is the correct HTML for making a text input field?
Answer: <input type=”text”>
Question 21:What is the correct HTML for making a drop-down list?
Answer: <select>
Question 22:What is the correct HTML for making a text area?
Answer: <textarea>
Question 23:What is the correct HTML for inserting an image?
Answer: <img src=”beauty.png” alt=”MyImage”>
Question 24:What is the correct HTML for inserting a background image?
Answer: <body style=”background-image:url(data.gif)”>
Question 25:Can<iframe> is used to display a web page within a web page?
Answer: True
Question 26:What is the doctype is correct for HTML5?
Answer: <!DOCTYPE html>
Question 27:What is the HTML element is used to specify a footer for a document or section?
Answer: <footer>
Question 28:Can HTML, you can embed SVG elements directly into an HTML page?
Answer: True
Question 29:What is the correct HTML element for playing video files?
Answer: <video>
Question 30:What is the correct HTML element for playing audio files?
Answer: <audio>
Question 31:The HTML global attribute, “contenteditable” is used to?
Answer: Specify whether the content of an element should be editable or not
Question 32:what is the HTML, onblur and onfocus are?
Answer: Event attributes
Question 33:Graphics defined by SVG is in which format?
Answer: XML
Question 34:The HTML <canvas> element is used to?
Answer: draw graphics
Question 35:In HTML, which attribute is used to specify that an input field must be filled out?
Answer: required
Question 36:What is the input type defines a slider control?
Answer: range
Question 37:In HTML, what does the <aside> element define?
Answer: Content aside from the page content
Question 38:Which HTML element is used to specify a header for a document or section?
Answer: <header>
Question 39:What is the HTML element is used to display a scalar measurement within a range?
Answer: <meter>
Question 40:What is the HTML element defines navigation links?
Answer: <nav>
Question 41:What is a marquee?
Answer: A marquee allows you to put scrolling text on a web page. To do this, place whatever text you want to appear scrolling within the <marquee> and </marquee> tags
Question 42:Which browsers support HTML5?
Answer: The latest versions of Google Chrome, Apple Safari, Mozilla Firefox, and Opera all support most of the HTML5 features.
Question 43:Name two new tags included in the HTML 5?
Answer: Audio and video
Question 44:What are two types of Web Storage in HTML5?
Answer: Session and Local Storage.
Question 45:Do all HTML tags have an end tag?
Answer: No There are some HTML tags that don’t need a closing tag. For example: <image> tag, <br> tag.
You may also like:
- CSS Interview Questions and Answer
- JavaScript Interview Questions and Answer
- HTML interview Question
- Amazing Tips For Job Interview
Leave a Reply