Found 2415 Articles for HTML

How to set cell width and height in HTML?

Lokesh Badavath
Updated on 10-Sep-2023 08:02:31

35K+ Views

We use the inline CSS style, to set the cell width and height. The HTML style element contains width and height attributes. To set cell width and height we should place these attributes with specified values with pixels inside the tag. Syntax Following is the syntax to set cell width and height in HTML. content Example Following is the example program to set cell width and height in HTML. DOCTYPE html> table, tr, th, td { border:1px solid ... Read More

How to set cell padding in HTML?

Lokesh Badavath
Updated on 02-Sep-2023 15:53:32

44K+ Views

We use the inline style attribute, to set cell padding in HTML. Cell padding is the space between cell borders of the table and the content within a cell of the table. The style attribute is used inside the HTML tag, with the CSS property called padding with a specified value in pixels. Syntax Following is the syntax to set cell padding in HTML. table header Example Following is an example program to set cell padding in HTML. DOCTYPE html> table, th, td { ... Read More

How to markup postal address in HTML?

Lokesh Badavath
Updated on 11-Nov-2022 09:20:03

3K+ Views

Addresses are used in physically locating a building. An address is a information, presented in a fixed format, used to give the location of a building, apartment, along with other identifiers are used such as house or apartment numbers. We use tag, to provide contact details on the web page. The HTML tag defines the contact information for the author of a document or an article on the web page. The contact information can be a building location, email address, URL, phone number, etc. The text in the element usually renders in italic format, and it ... Read More

How to use blockquote in HTML?

Lokesh Badavath
Updated on 11-Nov-2022 09:17:39

480 Views

The tag is to indicate long quotations. It should contain only block-level elements within it and not just plain text. It specifies a section quoted from another source and contains only block-level elements. We can also use the cite attribute inside the tag to indicate the source of the quotation in URL form. Syntax Following is the syntax for the tag. The multiple line content to be quoted Example Following is the example program for the tag. DOCTYPE html> DLF stands for Delhi Land and Finance ... Read More

How to use quotation marks in HTML?

Lokesh Badavath
Updated on 11-Nov-2022 09:14:47

5K+ Views

We use tag, to add short quotation marks in HTML. And if we want to quote for multiple lines, use tag. We can also use the cite attribute inside the tag to indicate the source of the quotation in URL form. Syntax Following is the syntax for the tag. The content to be quoted Example Following is the example program for the tag. DOCTYPE html> DLF stands for Delhi Land and Finance Delhi Land and Finance is one of the largest commercial real ... Read More

How to mark text superscript in HTML?

Paul Richard
Updated on 29-Dec-2021 07:07:53

1K+ Views

To mark superscripted text in HTML, use the … tag. Just keep in mind both the opening and closing tag is mandatory while using the ... tag.The superscript text appears to be half a character above the normal line. It is displayed as a smaller font.You can try the following code to mark superscripted text in HTML. Here, we are writing the value 2 4 using the tag,           HTML text superscript               Heading                Value: 2 4 = 16           Output

How to mark inserted text in HTML?

Lokesh Badavath
Updated on 11-Nov-2022 09:13:01

272 Views

The to be inserted is marked with an underline. Underlined text is used to help draw attention to the text. We use the tag, to mark a text in HTML. It represents a text in a different style from another text in the content of the web page. We can also use the style attribute, to mark a text in HTML. The style attribute specifies an inline style for an element. This attribute is used inside the HTML tag, with the CSS property text-decoration property. Syntax Following is the syntax for the tag. The text to be ... Read More

How to set table width in HTML?

Lokesh Badavath
Updated on 21-Oct-2023 13:42:41

23K+ Views

We use inline style attribute, to set the table width in HTML. The attribute is used within the HTML tag, with the CSS property width to set table width. Syntax Following is the syntax to set table width in HTML. … Example Following is the example program to set table width in HTML. DOCTYPE html> table { border:1px solid black; padding: 10px; ... Read More

How to mark strikethrough text in HTML?

Sai Subramanyam
Updated on 29-Dec-2021 07:28:48

9K+ Views

To mark strikethrough text in HTML, use the … tag. It renders a strikethrough text. HTML deprecated this tag and it shouldn’t be used in HTML5. As an alternative, use the CSS text-decoration property.To use the CSS property, use the style attribute. The style attribute specifies an inline style for an element. The attribute can be used with the HTML tag. Just keep in mind, HTML5 does not support the tag, so the CSS style should be used.ExampleYou can try to run the following code to mark strikethrough text in HTML HTML Strikethrough text ... Read More

How to mark deleted text in HTML?

Lokesh Badavath
Updated on 11-Nov-2022 09:10:46

1K+ Views

We use tag, to delete a text in HTML. This tag mark strike on the text which is to be delete from the document. We can also use the style attribute, to strike a text in HTML. The style attribute specifies an inline style for an element. This attribute is used inside the HTML tag, with the CSS property text-decoration property. Syntax Following is the syntax to delete a text in HTML. The content to be deleted Example Following is the example program to delete a text in HTML. DOCTYPE html> ... Read More

Advertisements