Found 2202 Articles for HTML

How do we display a text area in HTML?

Yaswanth Varma
Updated on 15-Dec-2022 14:23:07

3K+ Views

The task we are going to perform in this article is how do we display a text area in HTML. Let’s dive into the article for getting a clear idea on how we display text area. An HTML textarea tag defines a multi-line plain-text editing control. The text appears in a set-width font since a text space can carry an endless number of characters (usually Courier). In a form, the textarea is typically used to gather user inputs like comments or reviews. After the form is submitted, the reference in the form data will require the name property. Let’s look ... Read More

How do we display a table cell in HTML

Yaswanth Varma
Updated on 15-Dec-2022 14:21:27

647 Views

In this article we are going to learn about how do we display a table cell in HTML. Before jumping into the article let’s have a look on the HTML table A table in HTML makes a lot of sense when you want to organize data that would look best in a spreadsheet. A table is a visual representation of rows and columns of data. You may organise data like photos, text, links, and more into rows and columns of cells in HTML by using tables. Table Cell in HTML Table cells can span many columns and rows and contain ... Read More

How to display a summary for a given <details> in HTML5?

Sindhura Repala
Updated on 23-Jan-2025 11:55:57

308 Views

The Tag Summary in HTML To display a visible heading for the tag use the tag. Click the heading to hide or view the details. The first child element of the tag is the element. This tag specifies additional details that the user can open and close on demand. The tag is often used to create an interactive element that the user can switch open and close. Syntax Following is the syntax of the summary element − text … The summary tag supports global and event ... Read More

Display subscripted text in HTML

Chandu yadav
Updated on 27-May-2020 22:07:44

192 Views

Use the tag to create subscripted text. The HTML tag is used for defining subscript text like,x1+ x2ExampleYou can try to run the following code to display subscripted text in HTML −           HTML sub Tag               Value of x1 + x2 = 17    

How to display a table body in HTML?

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

888 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

829 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 small text in HTML

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

862 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 a short quotation in HTML?

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

379 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

716 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

Advertisements