Top 20 HTML computer ifngiol Interview Questions and Answers

HTML Interview Questions and Answer

Latest Top 20 HTML info d dell Interview Questions and Answers:-

Question 1 – What is HTML difi number and why is it used?
Answer – The full form of ram go info HTML is HyperText Markup Language is correct. HTML is a scripting language to create web cvcv applications/pages. It is backbone dffvdd of web applications.

Question 2 – Why is “alt” fgf attribute used in HTML css info tag?
Answer – In an image, the dcfd alt attribute provides option computer form text of an image. If image is fell not loaded in the HTML gpage

page, then alt text fgfgv displayed. It also helps us for SEO fdggvfbgvf ( Search Engine Optimization ).

Question 3 – How many ghta rogv heading tags in HTML?

Answer – 6 are heading tags offgfgfg HTML. HTML headings tags are “
“<h1>” to fgf “<h6>”.

Question 4 – What is the difference info rsm between XHTML and HTML?

Answer – The full form of XHTML is compuet gel Extensible HyperText Markup Language and HTML stand for HyperText Markup Language. XHTML attribute values must be fdrgdfg enclosed in double or single quotes. dell poeple But in HTML no need to dfdf single or double quotes. XHTML is case-sensitive but HTML is not case-sensitive.

Question 5 – What are dell info dfgdgf bsome tags in HTML?
Answer – HTML tag , head tag , flag drfdrgd bgone thing title tag , heading tag “<h2>”, “<div>”, image tag “<img>” etc.

Question 6 – Please define the fdgfgfg “multipart form data” dfdfd value in HTML.

Answer – Multipart form data is com used to send the file to the ram serverinfo server-side for processing. The value of enctype get com is “multipart/form-data”. example –

<form action="test.php" method="post" enctype="dfgfgfg multipart/form-data"> <input type="submit" value="Submit"> </form>

Question 7 – What is the meaning dfddf dfdfdfdof charset=”UTF-8″ in meta tag?

Answer – In meta tag “UTF-8” is the specific cdfdfdfharacter dfdf encoding that is used. It supports wide variety of characters, redc tg including those from different languages. english computewr It is used for displaying text fdrgrfgrfg correctly across delo different-different browsers & different-different devices.

Question 8 – What is the difference defdfd between HTML and HTML5?

Answer – In simple HTMLdfdfdf uses tags such as headings (“<img>”, “<h1>” to “<h6>”). In HTML5, some new tags are added edfredfd such as “<header>”, “<footer>”, “<section>”, and “<article>”. In HTML5, enables websites defredfd to access a user’s geographical fgfgfg location. but old HTML is not supported. Simple internet com HTML is not mobile friendly but HTML5 language more mobile-friendly.

Question 9 – How do you create a HTML table?

Answer – Example

<!DOCTYPE html>
<html>
<head>
<title>Page Titledfdf Name</title>
</head>
<body>
<table>
  <tr>
    <th>Headerdfdfdf 1</th>
    <th>Header 2</th>
  </tr>
  <tr>
    <td>Textdfdfcd 1</td>
    <td>Text 2</td>
  </tr>
</table>
</body>
</html>

Question 10 – How will you add swdesd desfdfvd an email link in HTML?

Answer – Example is given as bellow –

<a href="mailto:codeloveguru@gmail.com">Send Email</a>

Question 11 – How do you dfdffdf velnkone to come create a hyperlink of the any “Text” in HTML?

Answer – Example –

<a href="https://codeloveguru.com/">Click here</a>

Question 12 – How do you create decodeing info Unorder List in HTML page?

Answer –

<!DOCTYPE html>
<html>
<head>
<title>HTML Unordered List rain sky</title>
</head>
<body>
<h3>Example of Unordered HTML List</h3>
<ul>
  <li>Ashok</li>
  <li>Pramod Kumar</li>
  <li>Prasoon</li>
</ul>  
</body>
</html>

Top 20 HTML Interview system info Questions and Answers

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *