HTML Interview Questions

HTML Interview Questions

A list of top frequently asked HTML interview questions and answers are given below. Common html interview question.

HTML Interview Questions


1) What is HTML?
HTML is an acronym which stands for Hyper Text Markup Language which is used for creating web pages and web applications. Let's see what is meant by Hypertext Markup Language, and Web page?


2) What are Tags?
An opening tag, content and ending tag. Some tags are unclosed tags.
 <tag> content </tag>  


3) How many types of heading does an HTML contain?
The HTML contains six types of headings which are defined with the <h1> to <h6> tags. Each type of heading tag displays different text size from another. So, <h1> is the largest heading tag and <h6> is the smallest one. For example:


4) How to create a hyperlink in HTML?
The HTML provides an anchor tag to create a hyperlink that links one page to another page.

 Unvisited link - It is displayed, underlined and blue. 
 Visited link - It is displayed, underlined and purple. 
 Active link - It is displayed, underlined and red. 


5) What are some common lists that are used when designing a page?
There are many common lists which are used to design a page.
 UL = unorder list = number 
 OL = order list = bullets 


6) What is the difference between HTML elements and tags?
HTML elements communicate to the browser to render text. When the elements are enclosed by brackets <>, they form HTML tags. Most of the time, tags come in a pair and surround content.


7) How to insert a copyright symbol on a browser page?
You can insert a copyright symbol by using &copy; or &#169; in an HTML file.


8) Does a hyperlink only apply to text?
No, you can use hyperlinks on text and images both. The HTML anchor tag defines a hyperlink that links one page to another page. The "href" attribute is the most important attribute of the HTML anchor tag.
 <a href = "https://www.google.com/"> Link Text </a>   


9) What is a style sheet?
A style sheet is used to build a consistent, transportable, and well-designed style template. You can add these templates on several different web pages. 


10) What is <!DOCTYPE html> tag is a HTML tag?
<!DOCTYPE html>  is the doc type for HTML 5.  Here is a list of the current commonly used doctypes: HTML doctype declaration.



More information please visit this url https://www.papawebdesigner.com/
https://www.papawebdesigner.com/






Follow On Social Media -


Follow on Facebook   -  https://www.facebook.com/Front-End-Issue-487743404963344
Follow on instagram   -  https://www.instagram.com/frontendissue/  
Follow on Twitter       -  https://twitter.com/IssueEnd
Follow on Linkedin     -  https://www.linkedin.com/in/hitesh-patidar-34253a10a/ 
Follow on GooglePlus -  https://plus.google.com/118238268171156252992

Follow on pinterest    -  https://in.pinterest.com/frontendissue/


Comments

  1. perfect question and answer sir....

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Core HTML interview questions and answers for freshers and 1 to 5 years experience candidate.Learn tips and tricks for cracking HTML interviews.Coding tag will guide you the best e-learning website that cover all technical and learn technical tutorial based on different languages.

    ReplyDelete

Post a Comment

Popular posts from this blog

Owl carousel center mode with zoom image

Add (+/-) Button Number Incrementers using jQuery

What is difference between click and onclick in jquery