Found 8591 Articles for Front End Technology

How to display a table body in HTML?

Bhanu Priya
Updated on 10-Oct-2023 16:37:09

891 Views

Use the tag in HTML to display a table body. The HTML tag is used to add a body to a table. The tbody tag is used in conjunction with the thread tag and the tfoot tag in determining each part of the table (header, footer, body). The following are the attributes of tag − Attribute Value Description align Right left center justify char Deprecated − Visual alignment. char Character Deprecated − Specifies which character to align text on. Used when align = "char" charoff pixels or % Deprecated ... Read More

Create a selectable list in HTML

Bhanu Priya
Updated on 10-Oct-2023 16:16:23

3K+ Views

The tag is used to create a drop-down list in HTML document. We just need to add the “multiple” attribute to the element. Now, in order to select multiple options, we use following syntax − text The HTML tag also supports the following additional attributes − Attribute Value Description Disabled disabled Disables the input control. The button won't accept changes from the user. It also cannot receive focus and will be skipped when tabbing. Label text Defines a label to use when ... Read More

Display strikethrough text in HTML

Bhanu Priya
Updated on 12-Feb-2025 12:09:48

830 Views

Strikethrough Text Strikethrough text means text with a line through it. The tag was used in HTML4 to create a strikethrough text, but it is not supported in HTML5. Instead, the tag is used in HTML5 to define deleted text. Syntax Following is the usage of strikethrough tag in HTML − text…. Example: Displaying Strikethrough Text The following example demonstrates the use of the tag to display strikethrough text. This HTML code creates a webpage with the heading "TutorialsPoint" and a paragraph stating "It is an Edutech Company handles all Technical Non-Technical Subjects, " with ... Read More

Create a media resources for media elements, defined inside video or audio elements in HTML5

Sindhura Repala
Updated on 10-Feb-2025 11:35:49

581 Views

HTML5 supports five media elements, that are useful for creating media resources. The different media tags are , , , and . These tags are used to change the development, let us discuss each element in detail with an example − The tag To play videos on your web page, you can use the HTML element. This element provides a standard way to embed videos in a webpage. The simple code to embed a video is as follows − Your browser does not support the ... Read More

Create small text in HTML

Sindhura Repala
Updated on 27-Jan-2025 15:37:38

868 Views

HTML Tag To set a smaller font size in an HTML document, use the tag. This tag decreases the font size by one level, from medium to small or extra-large to large. There are two ways to use the tag in HTML. The tag also supports the global attributes and event attributes in HTML. This tag is not deprecated, but it is possible to achieve better results or nearly the same effect with CSS. The tag supports both Event Attributes and Global Attributes in HTML. Although not deprecated, similar or better results can be achieved ... Read More

How to display completion progress of a task in HTML5?

Sindhura Repala
Updated on 21-Jan-2025 11:01:09

452 Views

To visually demonstrate the completion of task or goal, we use the element. The max and value attributes show the progress made towards task completion. The element offers a visual representation of the completion status of task. It's typically displayed as a progress bar, indicating how much of a particular task has been completed. Here is the syntax for the tag in HTML − The element has both opening and closing tags. It is a new semantic element in HTML5. This progress bar id also used to display the progress of file being uploaded. ... Read More

How to display a short quotation in HTML?

Bhanu Priya
Updated on 10-Oct-2023 14:54:08

380 Views

In Html, in order to insert quoted text in browser page, we use quotation element. The quoted text appears different when compared to normal text. What is element? This element is used to insert quotation marks to the set of text in HTML document. It has opening and closing tag. Following is the syntax of element in HTML. text…… Example Following is an example using which we are trying to display a short quotation in HTML – Usage of Quotations ... Read More

How to add preformatted text in HTML?

Bhanu Priya
Updated on 10-Oct-2023 14:51:57

721 Views

In HTML tag is used for preformatted text. The text in between open and closed tags displayed exactly as written in HTML document. The usage of preformatted text is shown below - ---- The element displayed the text with preserved space and line breaks and also represents in a fixed-width font. Example Following example, which tries to add preformatted text in HTML − Different variations on Displaying Paragraph The pre element displayed the text with preserved space and line breaks ... Read More

How to include the result of a calculation in HTML5?

Bhanu Priya
Updated on 10-Oct-2023 14:41:01

761 Views

To define or include a result of calculation in HTML, we use tag. The output tag helps in providing the result of calculation, which is performed by the JavaScript (Client side scripting language). Syntax Following is the usage of tag − --- Attributes The attributes used in output tag is shown below − Attribute Description for List of IDs of other elements, i.e. it indicates the elements who have contributed input value to the calculation. form Enables to place output elements anywhere within a ... Read More

How to include an option in a drop-down list in HTML?

Sindhura Repala
Updated on 21-Jan-2025 15:50:21

2K+ Views

Creating a Dropdown List To create a drop-down list in HTML, we use the tag, which is generally used in forms to collect user input. To refer to the form data after submission, we use the name attribute. Without the name attribute, no data will be collected from the drop-down list. To associate the drop-down list with a label; the id attribute is needed. To define options in the drop-down list, use the tag inside the element. Syntax Following is the usage of tag in HTML - ... Read More

Advertisements