November 3, 2018

Sreekanth B

AppDynamics Most Frequently Asked HTML Interview Questions Answers

How To Create Tables In Html?

We use <table> tag to create the table in HTML. After creating an table we use <tr> tag to create the rows.And use <td> to create data cell on each row.These cell can store images,text,tables,list etc.
Basic syntax to create an Table are given below
<table border="1">
<tr>
<td>row 1, cell 1</td>
<td>row 1, cell 2</td>
<td>row 1, cell 3</td>
</tr>
<tr>
<td>row 2, cell 1</td>
<td>row 2, cell 2</td>
<td>row 2, cell 3</td>
</tr>
</table>

Write Some Useful Table Tags That We Use In Html?

I have display the list of some tags that we used in HTML table.These tags are

<table>   :  This is started tag of table.All other table tags works inside this tag.
<th>       : This is used to write header on table.
<tr>        : This is used to create row on table.
<td>     This is used to create table cells.
<caption> : This is specifies the table caption.
<colgroup> : Specifies the group of columns in table.
<col>     :  Using then we can set the attribute value for one or more columns in table.
<thead>  : This is used to set table head.
<tbody>  : This is used to set table body.
<tfoot>  : This is used to set table border.

How You Use Form's Action Attribute And Submit Button In Html?

Using Submit Button we can sends the form to the server and Action Attribute is specified that which file we send.
<form name="input" action="submit_form.php"
method="get"><input type="hidden" name="phpMyAdmin" value="f43d4e0b88acea2d2a393515f6bf38f2" /><input type="hidden" name="phpMyAdmin" value="70ac9566533a2665b6597346aab7f985" />
Formname
<input type="text" name="Form">
<input type="submit" value="Submit">
</form>
When we click the sumbit button web page than the submit_form is send to the server.

Xhtml Should Be The Master Storage Format For My Resources?

NO! XHTML still lacks semantics. Ideally your resources should be stored in an appropriate XML format. XSLT can then be used to convert the resources to XHTML (for Web browsers), WML (for mobile phones), etc. XHTML is a useful intermediate stage.

Can We Get Down To Practicalities. How Do I Create Xhtml Pages?

The eGroups XHTML-L Web site provides links to XHTML tools, including conversion tools and editors. A couple of free tools are available (HTML-Kit, 1st Page 2000). Mozquito Factory appears to be the first licensed package on the market. You can expect the usual suspects (Microsoft, Dreamweaver, etc) to bring out new versions of their products with XHTML support.

What About Conversion Of Existing Html Pages – Especially Bulk Conversion, As I Have Many Thousands Of Html Files!

W3C has written a utility program called Tidy which can be used to convert HTML pages to XHTML. Tidy can be used in batch mode to bulk-convert documents. Tidy is an open source program, which has been incorporated into an number of authoring tools, most notably HTML-Kit.
AppDynamics Most Frequently Asked HTML Interview Questions Answers
AppDynamics Most Frequently Asked HTML Interview Questions Answers

What Do You Understand About Doctype In Html?

DOCTYPE is stands for Document Type Declaration.In an HTML every HTML document is started with DOCTYPE declaration.It may be differ for different versions of HTML.DOCTYPE is used only bySGML tools like as HTML validator.
Example of Document Type Declaration in HTML 4 are,
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">.

How Do I Use Forms?

The basic syntax for a form is: <FORM ACTION="[URL]">…</FORM>
When the form is submitted, the form data is sent to the URL specified in the ACTION attribute. This URL should refer to a server-side (e.g., CGI) program that will process the form data. The form itself should contain

 at least one submit button (i.e., an <INPUT TYPE="submit" …> element),
 form data elements (e.g., <INPUT>, <TEXTAREA>, and <SELECT>) as needed, and
 additional markup (e.g., identifying data elements, presenting instructions) as needed.

Tell Me How To Convert An Html Page Into Xhtml?

If we want to convert HTML pages into XHTML than you have to insert some lines at the starting of document. <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

What Are The Advantages Of Xhtml?

Some main advantage of XHTML are given below
1.In XHTML we can use mixed namespaces.
2.work on XHTML is much simple than HTML.
3.When your document is not well formed than it will immediately informed to you due to an error from your UA in XHTML.

What The Benefits Of Xhtml Are?

As XHTML is an XML application, you will benefit from developments in the XML world. For example XML tools such as editors, converters, browsers, etc. can be used with XHTML resources. In addition there are developments to the XML family of protocols and formats which will provide additional functionality for XHTML.

How To Build A "hello World" Page. With Xhtml ?

"Hello World" Web page code looks like this
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hello World</title>
</head>
<body>
<p>My first Web page.</p>
</body>
</html>

Attributes Values Must Be In Double Or Single Quotes

<ol type=1>
becomes
<ol type="1">
or
<ol type='1'>

Why Is There Extra Space Before Or After My Table?

This is often caused by invalid HTML syntax. Specifically, it is often caused by loose content within the table (i.e., content that is not inside a TD or TH element). There is no standard way to handle loose content within a table. Some browsers display all loose content before or after the table. When the loose content contains only multiple line breaks or empty paragraphs, then these browsers will display all this empty space before or after the table itself.

The solution is to fix the HTML syntax errors. All content within a table must be within a TD or TH element.

Subscribe to get more Posts :