Found 2416 Articles for HTML

Display strikethrough text in HTML

Bhanu Priya
Updated on 10-Oct-2023 16:13:42

610 Views

Strikethrough text means line through text, tag helps us to cut line in the text. This tag is not supported in HTML5; it was used when everyone working on HTML4. Now instead of tag tag is using in HTML5 to define deleted text. Syntax Following is the usage of strikethrough tag in HTML − text…. Example In the following example we are trying to display a strike through a text using the tag – TutorialsPoint Its an Edutech Company handles all Technical Non-Technical ... Read More

Create small text in HTML

Bhanu Priya
Updated on 10-Oct-2023 15:13:57

422 Views

If we want to set a small font size in HTML document use tag. This tag is used to decrease the font size by one that is from medium size to small size or extra-large to large size. There are two ways, we can use this tag in HTML: In a nested form In a non-nested form Syntax Following is the usage of small font tag in HTML - text… It has opening and closing tags. It supports global as well as event attributes. Example Following example demonstrates the usage of small tag ... Read More

How to display a short quotation in HTML?

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

274 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

537 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 an option in a drop-down list in HTML?

Bhanu Priya
Updated on 18-Nov-2023 03:19:19

1K+ Views

For creating a drop-down list in HTML, we use command, it is generally used in form for collecting user input. To refer the form data after submitting, we use name attribute. If there is no name attribute, then there will be no data from drop-down list. For associating the drop-down list with label; id attribute is needed. For defining options in drop-down list, we have to use tag inside the element. Syntax Following is the usage of tag in HTML - The HTML ... Read More

How to add a parameter for an object in HTML?

Bhanu Priya
Updated on 10-Oct-2023 14:30:30

837 Views

To define parameters for plug-ins that is associated with object element we use tag. tag does not contain end tag. The tag supports all browsers, but the file format defined in object may not support. It also supports the global and event attributes in HTML. Syntax Following is the usage of tag in HTML − The parameter tag in HTML, accepts four attributes, as shown below − name − The name attribute in param tag used to specify the name of the parameter. value − The value attribute in param tag is ... Read More

How to allow no breaks in the enclosed text in HTML?

Bhanu Priya
Updated on 10-Oct-2023 14:25:40

150 Views

To allow no breaks in the enclosed text in HTML, we will use tag for creating a single line text, it does not bother about how long the statement is. If we want to read whole text a horizontal scroll has to be used. It is exactly opposite to break tag. tag is not supported in HTML5. This tag does not contain any attribute, it is having an open and closed tags. The tag in HTML The HTML tag is used to instruct the browser not to break the specified text. This is used ... Read More

Multi-Column Layout for Text Flow using HTML

Bhanu Priya
Updated on 10-Oct-2023 14:24:19

2K+ Views

In HTML tag is used to create multi-column layouts. It has opening and closing tags, . Following is the syntax of multicol tag. …….. Attributes of tag Following are the attributes used in tag − cols The value used for col attribute is number and it specifies how many columns need to be used. Following is the syntax of cols attribute in mutlicol tag. gutter The value used for gutter attribute is px, it specifies the distance between each column in pixels. Following is the Syntax ... Read More

Define a scalar measurement within a known range in HTML

Bhanu Priya
Updated on 10-Oct-2023 14:20:37

173 Views

To define a scalar measurement within a known range or a fractional value, we use tag in HTML. tag is also called as gauge. For disk usages, relevance of query results etc., we use tag in HTML. The tag is not used to indicate progress bar, If we want to indicate progress bar, we use tag. For best accessibility it’s better to use tag while working on tag. Syntax Following is the usage of tag in HTML − Example Following example where we are trying to define a scalar ... Read More

Highlight HTML content for reference purposes

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

226 Views

The tag is used to mark or highlight the text in HTML. It is one of the new tags used in HTML5. It supports global and event attributes. we can include tag in between the statement also, like − I play with Coding Syntax Following is the syntax of tag in HTML document − Contents... Example In the following HTML example, we are trying to print some text and highlighting it using the tag in HTML - TutorialsPoint ... Read More

Advertisements