Found 2202 Articles for HTML

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

How to add a parameter for an object in HTML?

Bhanu Priya
Updated on 09-Apr-2025 12:04:44

2K+ Views

How to Add a Parameter for an Object in HTML The tag is used to define a parameter of an HTML element. The tag does not contain a closing tag. The tag supports all browsers, but the file format defined in an object may not support it. It also supports the global and event attributes in HTML. Below is the syntax − The tag is deprecated and is no longer recommended. While some browsers might still support it, it has been removed from the relevant web standard and is only maintained for ... Read More

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

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

296 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

300 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

327 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

Include meta data in an HTML document

Bhanu Priya
Updated on 10-Oct-2023 13:51:43

464 Views

To include meta data in an HTML document, we use tag. Metadata provides important information about HTML document. It is used to add value pairs for describing the properties of HTML documents, like document author, list of keywords, expiry date, author name, etc. The meta data consists of only one tag, opening tag . Meta data carries information within its attributes. The tag does not change the physical appearance of document, even though we include one or more meta tags in a web document based on information. Syntax The following is the usage of meta tag in HTML ... Read More

How do we add a menu list in HTML?

Bhanu Priya
Updated on 10-Oct-2023 13:48:06

1K+ Views

If we want to create a menu list in HTML, we have to use tag, it is used to defines a list of commands that can be used by the users for creating listing form control, context menus, toolbar, and commands. At present this tag was removed from HTML and again reintroduced in HTML5. On majority of platforms, this tag is not supported on the majority of platforms. Syntax The usage of tag in HTML is shown below − -- --- --- The attributes present in menu tag are shown below ... Read More

How do we create an image map in HTML?

Sindhura Repala
Updated on 21-Jan-2025 15:37:40

2K+ Views

Clickable Areas in HTML To create clickable areas within an image, we use an image map, which is defined using the tag, with both opening and closing tags: . An image is a list that coordinates specific areas of an image, allowing different parts of the image to be hyperlinked to various destinations. These maps enable the server-side image web browser to send information to the server about where the user clicks within an image. Client-side image maps do not require any special logic to be executed on the server, as they do not need any JavaScript. ... Read More

Create a command/menu item that the user can invoke from a popup menu in HTML5

Ankith Reddy
Updated on 24-Jun-2020 07:54:05

289 Views

Use the tag to create a command/ menu item that the user can invoke from a popup menu in HTML5. The HTML tag is used for defining a menu item for a menu.The following are the attributes of the tag −AttributeValueDescription  checked  checked defines that a menuitem should be   checked default  default a menuitem is marked as a default   command disabled  disabled disables a menuitem and cannot be clicked icon  url defines an icon for a menuitem label  text defines a name for a menuitem which is displayed to the user radiogroup  groupname defines a group of commands out of which only one can be selectedtype ... Read More

Advertisements