HTML for Beginners

HTML Interview Questions

  • 1) What is HTML?
    HTML stands for HyperText Markup Language. It is the language of the World Wide Web. It is a standard text formatting language that is used to create and display pages on the Web. It makes the text more interactive and dynamic. It can turn text into images, tables, links. More details.
  • 2) What are Tags?
    HTML tags are composed of three things: an opening tag, content, and ending tag. Some tags are unclosed tags. HTML documents contain two things: content, and tags When a web browser reads an HTML document, the browser reads it from top to bottom and left to right. HTML tags are used to create HTML documents and render their properties. Each HTML tags have different properties. Syntax content
  • 3) Do all HTML tags have an end tag?
    No. There are some HTML tags that don't need a closing tag. For example: tag,
    tag. More details.
  • 4) What is formatting in HTML?
    The HTML formatting is a process of format the text for a better look and feel. It uses different tags to make text bold, italicized, underlined. More details.
  • 5) How many types of heading does an HTML contain?
    The HTML contains six types of headings which are defined with the

    to

    tags. Each type of heading tag displays different text size from another. So,

    is the largest heading tag and

    is the smallest one. For example:

    Heading no. 1

    Heading no. 2

    Heading no. 3

    Heading no. 4

    Heading no. 5
    Heading no. 6
  • 6) How to create a hyperlink in HTML?
    The HTML provides an anchor tag to create a hyperlink that links one page to another page. These tags can appear in any of the following ways: Unvisited link - It is displayed, underlined and blue. Visited link - It is displayed, underlined and purple. Active link - It is displayed, underlined and red.
  • 7) What are some common lists that are used when designing a page?
    There are many common lists which are used to design a page. You can choose any or a combination of the following list types: Ordered list - The ordered list displays elements in numbered format. It is represented by
      tag. Unordered list - The unordered list displays elements in bulleted format. It is represented by
        tag. Definition list - The definition list displays elements in definition form like in dictionary. The
        ,
        and
        tags are used to define description list.
  • 8) 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.
  • 9) What is semantic HTML?
    Semantic HTML is a coding style. It is the use of HTML markup to reinforce the semantics or meaning of the content. For example: In semantic HTML tag is not used for bold statement as well as tag is used for italic. Instead of these we use and tags.
  • 10) How to create a nested webpage in HTML?
    The HTML iframe tag is used to display a nested webpage. In other words, it represents a webpage within a webpage. The HTML tag defines an inline frame. For example:

    HTML Iframes example

    Use the height and width attributes to specify the size of the iframe:

  • 11) 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. Syntax Link Text
  • 12) 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. It describes the look and formatting of a document written in a markup language.
  • 13) Explain the layout of HTML?
    Every website has a specific layout to display content in a specific manner. Following are different HTML5 elements which are used to define the different parts of a webpage.
    : It is used to define a header for a document or a section.
  • 14) How many tags can be used to separate a section of texts?
    Three tags are used to separate the texts.
    tag - Usually
    tag is used to separate the line of text. It breaks the current line and conveys the flow to the next line

    tag - The

    tag contains the text in the form of a new paragraph.

    tag - It is used to define a large quoted section. If you have a large quotation, then put the entire text within
    .............
    tag.
  • 15) How to make a picture of a background image of a web page?
    To make a picture a background image on a web page, you should put the following tag code after the tag. Here, replace the "image.gif" with the name of your image file which you want to display on your web page.
  • 16) What is the use of a span tag? Give one example.
    The span tag is used for following things: For adding color on text For adding background on text Highlight any color text Example:

    In this page we use span.

  • 17) What is the use of an iframe tag?
    An iframe is used to display a web page within a web page. Syntax: Example: Target to a link:
  • 18) Does a tag is a HTML tag?
    No, the declaration is not an HTML tag. There are many type of HTML e.g. HTML 4.01 Strict, HTML 4.01 Transitional, HTML 4.01 Frameset, XHTML 1.0 Strict, XHTML 1.0 Transitional, XHTML 1.0 Frameset, XHTML 1.1 etc. So, is used to instruct the web browser about the HTML page.
  • 19) What are the different new form element types in HTML 5?
    Following is a list of 10 frequently used new elements in HTML 5: Color Date Datetime-local Email Time Url Range Telephone Number Search
  • 20) Is there any need to change the web browsers to support HTML5?
    No. Almost all browsers (updated versions) support HTML 5. For example Chrome, Firefox, Opera, Safari, IE.

Overview

What will I learn?

The course is designed for the individuals who have never done anything with HTML or web pages and might want to build this essential information for starting your profession as a web developer or web designer or for figuring out how to program HTML for site pages. You will have the fundamental comprehension of building pages with HTML and HTML5, and at the end of the course, you’ll get the knowledge about where to go next to enhance your front-end web development skills.

What are the requirements?

  • A computer
  • Time commitment
  • Desire to learn
  • Ability to understand basic computer commands
  • Ability to solve problems and think analytically
  • Compliance to take what is presented and work with it to practice in your own way

Who Can Learn HTML

  • HTML developers
  • Web Developers
  • Anyone who wants to create simple HTML pages and would like a refresher or information on the tags available through HTML
  • Anyone who has never learned about HTML5 and just wants a quick look at new HTML5 features

Average Web Developer Salary in Richmond, Virginia

  • $44,757 to $68,668
  • Ref: Salary.com, Glassdoor, PayScale

Contact Us

+1-800-543-5571

Request more information

lesson loader