Found 2556 Articles for HTML

How to create table rows & columns in HTML?

Lokesh Badavath
Updated on 18-Nov-2022 10:59:27

18K+ Views

HTML tables allow us to arrange data into rows and columns on the web page. We use the tag, to create table in HTML. A table consist of rows and columns. Table heading, row and column and table data can be set using one or more , , and elements. A table row is defined by the tag. For table rows and columns, we use , tags respectively inside the … tag. Example Following is the example program to create table rows and column. DOCTYPE html> ... Read More

How to use small font in HTML?

karthikeya Boyini
Updated on 22-Dec-2021 09:43:02

4K+ Views

To set the small font in HTML, use the style attribute. The style attribute specifies an inline style for an element. The attribute is used with the HTML tag, with the CSS property font-size. HTML5 do not support the tag, so the CSS style is used to add font size.Just keep in mind, the usage of style attribute overrides any style set globally. It will override any style set in the HTML tag or external style sheet.ExampleYou can try the following code to add font smaller than the default font in an HTML page     ... Read More

How to create table header in HTML?

Lokesh Badavath
Updated on 18-Nov-2022 10:55:33

8K+ Views

To create table header in HTML, use the … tag. A table header tag is surrounded by the table row …. The tag is surrounded by the tag. A table consist of a rows and columns, which can be set using one or more , , and elements. Use the style attribute to add CSS properties for adding a border to the table. A table row is defined by the tag. To create table header, use the tag. Just keep in mind that you can only have a single heading in a table. Syntax ... Read More

How to use small formatting in HTML?

Lokesh Badavath
Updated on 11-Nov-2022 09:06:33

222 Views

The tag in HTML makes text font size smaller (one size smaller to the original font size) in the HTML document. The HTML tag is found inside the tag. The tag makes the text one size smaller. Syntax Following is the syntax for the tag. The text… Example Following is the example program for the tag. DOCTYPE html> Tutorials point Example We can use tag inside the HTML elements. Following is the example program for the tag inside the tag. DOCTYPE html> ... Read More

How to create tables in HTML?

Lokesh Badavath
Updated on 06-Sep-2023 22:01:31

31K+ Views

HTML tables allow us to arrange data into rows and columns on the web page. We use the tag, to create table in HTML. A table consist of rows and columns. Table heading, row and column and table data can be set using one or more , , and elements. A table row is defined by the tag. To set table header, we use tag. To insert data in table cell, use the tag. A table in HTML consists of table cells inside rows and columns of the table. Table heading is defined by ... Read More

How to use Emphasized formatting in HTML?

Lokesh Badavath
Updated on 22-Nov-2023 21:25:27

916 Views

The tag is used to define emphasized text. The content inside em tag is typically displayed in italic. The HTML tag should be used inside tag. The tag is used to separate the text from the rest text of the content. The content inside em tag is typically displayed in italic. You can change this behavior with CSS property. Syntax Following is the syntax for tag. The text… Example Following is the example program for tag. DOCTYPE html> Tutorials point Example In the following example ... Read More

How to use floating image in HTML page?

Alankritha Ammu
Updated on 22-Dec-2021 10:35:43

19K+ Views

To use a floating image in HTML, use the CSS property float. It allows you to float an image left or right. More property values include the following:Sr.No.Property Value & Description1noneNot floated2leftFloats to the left3rightFloats to the right4initialDefault valueExampleYou can try to run the following code to use floating image in HTML. Here’s the usage of float right and float left CSS attribute           HTML Floating Image        Float Right    The below image floats to the right.                 This is demo text. ... Read More

How to make an image responsive in HTML?

Lokesh Badavath
Updated on 18-Nov-2022 10:43:28

5K+ Views

Responsive images will automatically adjust to the size of the screen and to the tab size. To make image responsive first we must add image to the web page using tag, then by using style sheet we can change the parameters of the image to make an image responsive in HTML. Syntax Following is the syntax to make an image responsive in HTML. Example Following is the example program to make an image responsive in HTML. In here, we have used inline style sheet. DOCTYPE html> Responsive Image ... Read More

How to create clickable areas in an image in HTML?

Anjana
Updated on 22-Dec-2021 11:09:45

7K+ Views

To create clickable areas in an image, create an image map, with clickable areas. For example, on clicking a box, the different website opens and on clicking a triangle in the same image, a different website opens.The tag defines an area inside an image-and nested inside a tag. The following are the attributes:Sr.NoAttribute & Description1altThe alternate text for the area2coordsThe coordinates for the area3downloadThe target will download when the hyperlink is clicked4shapeThe shape of the area5targetWhere the URL will openExampleYou can try to run the following code to create clickable areas in an image in HTML   ... Read More

How to set Heading alignment in HTML?

Lokesh Badavath
Updated on 02-Sep-2023 13:50:46

48K+ Views

Headings are the titles or subtitles of the content that you want to display on the web page. Headings help us to get an idea of the content on the web page. Headings and subheadings represent the key concepts ideas and supporting ideas in the content of the web page. HTML have a different level of heading tags. Heading is defined with to tags. It is important to use headings to show the HTML document structure. headings should be used for main headings, followed by headings, then , and so on up to . Heading tags ... Read More

Advertisements