How can I include comments in HTML? |
An HTML comment begins with <!-- , ends with --> .The following are examples of HTML comments: |
Post/View Answer
Post comment
Cancel
Thanks for your comment.!
Write a comment(Click here) ...
|
What is HTML? | ||||
HTML stands for hypertext mark-up language. Hyper is the opposite of linear. Old-fashioned computer programs were necessarily linear - that is, they had a specific order. But with a hyper language such as HTML, the user can go anywhere on the web page at any time. Text is just what you're looking at now - English characters used to make up ordinary words. Mark-up is what is done to the text to change its appearance. For instance, marking up your text with <b> before it and </b> after it will put that text in bold. Language is just that. HTML is the language that computers read in order to understand web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language. | ||||
Why we Place all External CSS Files within the Head Tag? | ||||
Moving style sheets to the document HEAD makes pages appear to be loading faster. This is because putting style sheets in the HEAD allows the page to render progressively. | ||||
What is the simplest HTML page? | ||||
HTML Code: <HTML> <HEAD> <TITLE>Welcome! </TITLE> </HEAD> <BODY> Hello world! </BODY> </HTML> | ||||
What is a html tag? | ||||
HTML markup tags are usually called HTML tags. | ||||
What is the file extension of html? | ||||
The HTML file extension is .htm or .html | ||||
What is a hypertext link and how to create it? | ||||
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. The anchor element is used to define the start and/or destination of a hypertext link. A hyperlink (or link) is a word, group of words, or image that you can click on to jump to a new document or a new section within the current document. Example: The <a href="http://www.webiwip.net/"> webiwip</a> | ||||
| ||||
Can I nest tables within tables? | ||||
Yes, a table can be embedded inside a cell in another table. Here's a simple example: <table border='1'> <tr> <td>this is the first cell of the outer table</td> <td>this is the second cell of the outer table, with the inner table embedded in it <table border='1'> <tr> <td>this is the first cell of the inner table</td> <td>this is the second cell of the inner table</td> </tr> </table> </td> </tr> </table>
| ||||
What is html Meta element? | ||||
The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page. | ||||
What are HTML Lists and html code for list items? | ||||
HTML lists are ordered and unordered <ul> <li>Coffee</li> <li>Milk</li> </ul>
<ol> <li>Coffee</li> <li>Milk</li> </ol>
<dl> <dt>Coffee</dt> <dd>- black hot drink</dd> <dt>Milk</dt> <dd>- white cold drink</dd> </dl> | ||||
| ||||
What is a html form? | ||||
HTML forms are used to pass data to a server. A form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons and more. Example <form action="./#" method="get" name="input">Username: <input name="user" type="text" /><br /> <input type="submit" value="Submit" /></form> | ||||
Can I have two or more actions in the same form? | ||||
No. A form must have exactly one action. However, the server-side program that processes your form submissions can perform any number of tasks. | ||||
What is a DOCTYPE? | ||||
According to HTML standards, each HTML document begins with a DOCTYPE declaration that specifies which version of HTML the document uses. Today, many browsers use the document's DOCTYPE declaration to determine whether to use a stricter, more standards-oriented layout mode. | ||||
What is the difference between the HTML form methods GET and POST? | ||||
As per functionality both GET and POST methods were same. Difference is GET method will be showing the information information to the users. But in the case of POST method information will not be shown to the user. GET method characters were restricted only to 256 characters. But in the case of POST method characters were not restricted. GET method you can only use text as it sent as a string appended with the URL, but with POST is can text or binary. GET is the default method for any form, if you need to use the POST method you have to change the value of the attribute method to be Post. | ||||
Why html page looks good on one browser, but not on another? | ||||
There are slight differences between browsers, such as Netscape Navigator and Microsoft Internet Explorer, in areas such as page margins. The only real answer is to use standard HTML tags whenever possible. | ||||
How can I display an image on my page? | ||||
Use an IMG element. The SRC attribute specifies the location of the image. The ALT attribute provides alternate text for those not loading images. For example: <img src='logo.gif' alt='ACME Products' /> | ||||
What is the html frame? | ||||
With frames, you can display more than one HTML document in the same browser window. Each HTML document is called a frame, and each frame is independent of the others. | ||||