INTERVIEW QUESTIONS


HTML INTERVIEW QUESTIONS

LEVEL 1

1:- What is HTML? + -

A:- HTML is stands for Hyper-Text Mark-up Language

B:- A mark-up language is a set of markup tags

C:- HTML documents are described by HTML tags


A:- HTML

B:- HTML 2.0

C:- HTML 3.2

D:- HTML 4.01

E:- XHTML

F:- HTML5


A tag tells the browser what to do with the data.

html, body, title, a, ol and b are the most commons tags used in HTML.


HTML code:

<html>
<head>
<title> This is my page </head>
<body> This is my output!!!! </body>
</html>

Browser Display: This is my output!!!!


i) font-style

ii) font-variant

iii) font-weight

iv) font-size/line-height

v) font-family

vi) caption

vii) icon

viii) menu

ix) message-box

x) small-caption

xi) status-bar


There are many editors for HTML like

1. Notepad,

2. Notepad++


In HTML, title or subtitle can be given from heading tags. So the size of the text depends on heading tag.

Eg:-

<h1> Heading 1 </h1>
<h2> Heading 2 </h2>
<h3> Heading 3 </h3>
<h4> Heading 4 </h4>
<h5> Heading 5 </h5>
<h6> Heading 6 </h6>

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

WWW stands for World Wide Web.

It is the inter-connection of all the links called as internet.


Tags like <i>,  <b>, <strong> etc.

can be used to format HTML. Below is the example given for the same –

1. <b>Test Content </b>,
2. <i>Test Content </i>,and
3. <strong>Test Content </strong>.

< br> tags are line breakers.

Whenever there is a requirement of putting single line breaker then this tag is used.


HTML supports both .htm and .html extension.


Web standards are standards specified for the internet or World Wide Web aspects for improving internet usability by all major OS and browsers.


HTML forms takes data and sends the information to the servers.

Simple HTML form is given:

<form>
Your Name <input type="text" name="name"><br>
Your College Name <input type="text" name="college">
</form>

To insert the copyright symbol, you need to type © or & #169; in an HTML file.


We use Radio Buttons when we want that user select one of a limited number of choices.

Example:

<form>
<input type="radio" name="Gender" value="male"> Male
<input type="radio" name="Gender" value="female">Female
</form>

<link rel="stylesheet" href="your CSS file path"/>

A hypertext link is a special tag that links one page to another page or resource.

If you click the link, the browser jumps to the link’s destination.


Every HTML elements should begin with this declaration of DOCTYPE.

This is used to specify the version of HTML used in the given document.

<!DOCTYPE html>

Below is the example of adding image in webpage –

<body background="YourTestImage.jpg">

We can set height and width attributes in image tag –

<img src=”image url” height=”200px” width=”300px” alt=”sample text”/>

HTML blocks can be defined by HTML tags like

<span> and <div>

<div> is like a container and it is like having <br>(line break) tag before and after the block.
<span>is a inline and it is used for small HTML like paragraph.

The body element defines the documents’ body.

It contains all the contents of the document (like text, images, colors, graphics, etc.).


HTML elements with no content are called empty elements.

For eg: <br>

HTML Table tag is make a table in the form of row and column.

It is arranged layout of page like header, body, and footer section etc.

Syntax used:<br>

30+

Courses

10k

STUDENTS ENROLLED

10+

PROFESSIONAL TEACHERS

100

PROJECTS DONE