How to include an option in a drop-down list in HTML?

Arjun Thakur
Published on 13-Mar-2018 12:46:34
To include an option in a drop-down list, use the <option> tag in HTML. The HTML <option> tag is used within a form for defining options in the drop-down list.The HTML <option> tag also supports the following additional attributes −AttributeValueDescriptionDisableddisabledDisables the input control. The button won't accept changes from the ... Read More

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

Govinda Sai
Published on 13-Mar-2018 12:35:48
Use the <nobr> tag to allow no breaks in the enclosed text in HTML. The HTML <nobr> tag is used to instruct the browser not to break the specified text.This is used with the <wbr> tag, <wbr> advises the extended browser when it may insert a line break in an ... Read More

Section that contains only navigation links in HTML5

Daniol Thomas
Published on 13-Mar-2018 12:36:16
The HTML <nav> tag specifies a section that contains only navigation links. You can try to run the following code to implement <nav> tag in HTML5 −Example<!DOCTYPE html> <html>    <head>       <title>HTML Nav Tag</title>    </head>    <body>       <p>Database Tutorials:</p>       <nav> ... Read More

Multi-Column Layout for Text Flow using HTML.

Chandu yadav
Published on 13-Mar-2018 12:33:50
The HTML <multicol> tag is used to create multiple columns of text and lets you control the size and number of the columns. The <multicol> tag can contain any other HTML content, much like the <div> tag. All of the content within the <multicol> tag is displayed just like conventional ... Read More

Define a scalar measurement within a known range in HTML

seetha
Published on 13-Mar-2018 12:30:35
Use the <meter> tag to define a scalar measurement. The HTML <meter> tag specifies a scalar measurement within a known range (a gauge).ExampleYou can try to run the following code to learn how to implement <scalar> tag in HTML −<!DOCTYPE html> <html>    <head>       <title>HTML meter Tag</title> ... Read More

Include meta data in an HTML document

V Jyothi
Published on 13-Mar-2018 12:28:55
The HTML <meta> tag is used for declaring metadata for the HTML document. The following are the attributes −AttributeValueDescriptionNameauthordescriptionkeywordsgeneratorrevisedothersName of the property.contentTextDefines meta information to be associated with http-equiv or name.http-equivcontent-typeexpiresrefreshset-cookieConnects the content attribute to an HTTP header.schemeTextDefines a format to be used to interpret the value of the content ... Read More

How do we add a menu list in HTML?

radhakrishna
Published on 13-Mar-2018 12:26:28
Use the <menu> tag in HTML to add a menu list. The HTML <menu> tag is used for creating a menu list.The HTML <menu> tag also supports the following additional attributes −AttributeValueDescriptionlabel textSpecifies a visible label.type popuptoolbarcontextSpecifies the type of menu to be displayed.Note − This tag deprecated in HTML ... Read More

Highlight HTML content for reference purposes

Krantik Chavan
Published on 13-Mar-2018 12:29:01
Use the <mark> tag to highlight HTML content. The HTML <mark> tag specifies a text highlighted for reference purposes that is for its relevance in another context.ExampleYou can try to run the following code to highlight HTML content for reference purposes −<!DOCTYPE html> <html>    <head>       <title>HTML ... Read More

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

Ankith Reddy
Published on 13-Mar-2018 12:22:29
Use the <menuitem> tag to create a command/ menu item that the user can invoke from a popup menu in HTML5. The HTML <menuitem> tag is used for defining a menu item for a menu.The following are the attributes of the <menuitem> tag −AttributeValueDescription  checked  checked defines that a menuitem should ... Read More

How do we create an image map in HTML?

Giri Raju
Published on 13-Mar-2018 12:20:02
To add an image map, use the <map> tag in HTML. The HTML <map> tag is used for defining an image map along with <img> tag.The following is the attribute −AttributeValueDescriptionnameunique_nameDefines a unique name for the map tagExampleYou can try to run the following code to learn how to create ... Read More
Advertisements