<< < 2 3 4 5 6 7 8 9 10 > >>   Sort: Date

Closing an HTML Element
How To Close an HTML Element? In XHTML syntax, every HTML element must be closed. There are two ways to close an HTML element: Using a closing tag, which is the element name prefixed with "/" and enclosed in a pair of angle brackets: "&lt;" and "&gt;". Closing the opening tag immediately by ...
2024-03-23, 1279🔥, 0💬

Ampersand Sign in HTML Attribute Values
How To Write Ampersand Sign in Attribute Values? If you need enter an ampersand sign in an attribute value, you can not enter it directly. You must replace it with entity: &amp;amp;. Here are some interesting examples of quoted attribute values: &lt;img src="tt.gif" alt="Tutorials &amp;a...
2023-09-23, 1278🔥, 0💬

HTML 'input' Tag/Element
What Is an "input" Tag/Element? An "input" element is an inline element that can used inside a "form" element to define an input field. Here are basic rules about an "input" elements: An "input" element is an inline element. It can not be used directly inside a "form" element. It can only be used in...
2017-04-19, 1278🔥, 0💬

HTML Table Row 'tr' Tag/Element
What Is a "tr" Tag/Element? A "tr" element is a special element that can only be used as a sub-element of a "table" element. A "tr" element defines a row in a table. Here are basic rules about "tr" elements: "tr" elements are special elements only valid inside "table" elements. "tr" elements can not...
2017-05-20, 1277🔥, 0💬

HTML Author 'meta' Tag/Element
What Is the HTML Author "meta" Tag/Element? The author "meta" element is a special "meta" element that provides information about the author of the HTML document. The author "meta" element must include the "name" attribute as, name="author". Here is an example: &lt;meta name="author" content="FY...
2017-06-23, 1268🔥, 0💬

Predefined HTML Attribute Values
What Are Predefined Attribute Values for an HTML attribute? Some HTML attributes have predefined values. If an attribute has predefined values, you must use one of the predefined values. For example, attribute "valign" of element "td" has 4 predefined values "baseline", "bottom", "middle", and "top"...
2023-09-23, 1263🔥, 0💬

Using HTML 'file' Input Fields
How To Use "file" Input Fields? A "file" input field is defined as &lt;input type="file" .../&gt;. "file" input fields can be used to create file upload input fields. Most browsers will display a file upload input field as a text input box followed by a "Browse..." button. The other attribut...
2017-04-08, 1263🔥, 0💬

Using HTML 'file' Input Fields
How To Use "file" Input Fields? A "file" input field is defined as &lt;input type="file" .../&gt;. "file" input fields can be used to create file upload input fields. Most browsers will display a file upload input field as a text input box followed by a "Browse..." button. The other attribut...
2017-04-08, 1263🔥, 0💬

HTML Drop Down List 'select' Tag/Element
What Is a "select" Tag/Element? A "select" element is an inline element that you can use to define a dropdown input field in a form. Here are basic rules about a "select" element: "select" elements are inline elements. "select" elements can only be used as sub-elements of "form" elements. A "select"...
2017-04-01, 1263🔥, 0💬

What Is CDATA in HTML Documents?
What Is CDATA in HTML documents? CDATA stands for Character DATA, which is used to define a section of data that should not go through the XHTML entity translation (parsing) process. In other words, 3 special characters: "&lt;", "&gt;", and "&amp;" can be directly used in CDATA. They wil...
2024-02-28, 1262🔥, 0💬

The Opening Tag of an HTML Element
How To Write the Opening Tag of an HTML Element? When you are writing an HTML element, you must start with its opening tag, which contains the name of the element and attributes if needed. The opening tag is enclosed in a pair of angle brackets: "&lt;" and "&gt;". HTML element names are pred...
2024-03-23, 1250🔥, 0💬

HTML Drop Down List 'option' Tag/Element
What Is an "option" Tag/Element? A "option" element is an inline element that you can use to define one option of a dropdown input field in a form. Here are basic rules about a "option" element: "option" elements are inline elements. "option" elements can only be used as sub-elements of "select" ele...
2017-04-01, 1245🔥, 0💬

Floating an Image to the Right Side in HTML
How To Float an Image to the Right Side? If you want to float an image to the right side of the paragraph instead of inline within a text line, you have to use the CSS property "float" to do this. The "float" property takes two values: "float: left" - Specifies that the image to be floated to the le...
2017-03-27, 1244🔥, 0💬

Reducing the Display Size of an Image in HTML
How To Reduce the Display Size of an Image? If an image embedded inline is too big when displayed in a browser, you can use "width" and "height" attributes to reduce the image's display size. The display width and height should be proportional to the actual width and height of the image. Otherwise, ...
2017-03-27, 1243🔥, 0💬

HTML 'body' Tag/Element - Document Body
What Is the HTML "body" Tag/Element? The "body" element is used to provide content of the HTML document. Here are some rules about the "body" tag/element: The body element is a second level element. The body element must be the second child element of the html element. You can only place a single bo...
2024-01-10, 1240🔥, 0💬

Attribute Name Case Sensitive
Is Attribute Name Case Sensitive? Yes, XHTML attribute names are case sensitive. You must write all attribute names in lower case letters. Here are some valid and invalid attribute names: &lt;a href="http://dev.fyicenter.com "&gt;- Valid attribute name. &lt;a HREF="http://dev.fyicenter.c.. .
2023-09-23, 1239🔥, 0💬

Values Submitted in HTML Checkbox Fields
What Are the Values Submitted on Checkbox Fields? A "checkbox" input field does not allow viewers to enter any input values directly. If a form is submitted, "checkbox" input fields will be submitted with values based on the following rules: If a "checkbox" is not checked, no value will be submitted...
2017-04-15, 1234🔥, 0💬

Closing XHTML 'br' Tags
What Is wrong with my &lt;br&gt; Tags? If you are used HTML syntax, you may write your &lt;br&gt; tags as in the paragraph below: &lt;p&gt; I love the way you look at me,&lt;br&gt; Your eyes so bright and blue.&lt;br&gt; I love the way you kiss me,&lt;br&a...
2024-03-23, 1233🔥, 0💬

HTML 'title' Tag/Element
What Is the HTML "title" Tag/Element? The "title" element is the 4th element you need to learn. The "title" element is used to provide a text title to the XHTML document. Here are some rules about the "title" tag/element: The title element is a required child element of the head element. You must pl...
2024-01-19, 1232🔥, 0💬

HTML Input Field 'label' Tag/Element
What Is a "label" Tag/Element? A "label" element is an inline element that you can use to define a label for a form input field. Here are basic rules about a "label" element: "label" elements are inline elements. "label" elements can only be used as sub-elements of "form" elements. A "label" element...
2017-04-01, 1231🔥, 0💬

Relation between HTML and SGML
What Is the relation between HTML and SGML? SGML (Standard Generalized Markup Language) is a metalanguage in which one can define markup languages, like HTML, for documents. SGML is a descendant of IBM's Generalized Markup Language (GML), developed in the 1960s by Charles Goldfarb, Edward Mosher and...
2024-02-09, 1226🔥, 0💬

Using HTML 'image' Input Fields
How To Use "image" Input Fields? An "image" input field is defined as &lt;input type="image" .../&gt;. "image" input fields can be used to create image buttons. If an image button is clicked, the mouse coordinates on the image and other form input data will be submitted to the form processin...
2017-04-04, 1224🔥, 0💬

Two HTML Elements Overlapping Each Other
Can Two HTML Elements Partially Overlap Each Other? No, two elements can not partially overlap each other. One element must be completely enclosed inside the other element. See the following two examples: &lt;!-- Valid: "em" is enclosed inside "strong" --&gt; &lt;p&gt;There was once ...
2024-02-28, 1220🔥, 0💬

XHTML Document Example
What Does an XHTML Document Look Like? An XHTML document is a normal text file with predefined tags mixed with the text contents of the document. Tags are enclosed in pairs of angle brackets: "&lt;" and "&gt;". Below is how a simple XHTML document looks like if you open it in a text editor: ...
2024-01-31, 1220🔥, 0💬

<< < 2 3 4 5 6 7 8 9 10 > >>   Sort: Date