Found 9054 Articles for Front End Technology

How do we add a menu list in HTML?

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

613 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?

Bhanu Priya
Updated on 24-Nov-2023 00:50:14

2K+ Views

For creating clickable areas in an image, we use image map which is defined as tag, with open and closing tags The tag defines an area inside an image-and nested inside a tag. Following are the attributes − Sr.No Attribute & Description 1 altThe alternate text for the area 2 coordsThe coordinates for the area 3 downloadThe target will download when the hyperlink is clicked 4 shapeThe shape of the area 5 targetWhere the URL will open Syntax Following is the ... Read More

How do we display the main content in the document in HTML5?

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

162 Views

To display the main content in the document, we use tag. The tag consists of open and closing tags, the content present in between element is unique to the document, it does not contain any content which is repeated across documents like navigation links, site logos, sidebars and search forms. In a document there should be only one element. The main is not a descendent of , , , or element. The tag supports almost all browsers and it also supports global and event attributes. Syntax Following is the usage of tag in ... 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

189 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

How to add a list item in HTML?

Bhanu Priya
Updated on 10-Oct-2023 17:21:29

673 Views

To define list item in HTML we use tag, it can be used inside ordered lists (), unordered lists () and in menu lists (). In ordered list , the list items were displayed with numbers or letters. In unordered list , and in menu list the list items are displayed with bulletpoints. Following are some examples of ordered and unordered lists − Unordered Lists − student 1 student 2 student 3 example 1 example 2 example 3 Ordered Lists − student 1 student 2 student 3 example 1 example 2 ... Read More

How to add a resource reference in HTML?

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

2K+ Views

In HTML the tag is used to add a resource reference. The link defines the relationship between the external document and current document. The tag is also used to link external style sheets and to add favicon to our websites, tag consists of attribute values. Following is the usage of tag in HTML - The tag is supported by almost all browsers and it also supports global and event attributes. Attributes Attributes of the tag are shown below − crossorigin − The value of crossorigin attribute is anonymous use-credentials, ... Read More

How to add a layer in HTML?

Bhanu Priya
Updated on 10-Oct-2023 12:57:38

2K+ Views

We can add a layer to an HTML document using the tag in HTML. Once we have created a layer using this tag, then we can manipulate it using JavaScript. This tag is used to position and animate (through scripting) elements in a page. A layer can be thought of as a separate document that resides on top of the main one, all-existing within one window.Following is the usage of tag in HTML - Attributes of the tag Above − The above attribute in layer tag specifies the name of above layer when compared ... Read More

How to include a title in a fieldset in HTML?

Bhanu Priya
Updated on 10-Oct-2023 12:43:14

319 Views

In HTML the tag is used to include/define a title for a tag. Before proceeding further let us understand what is a fieldset. A fieldset is an element in HTML, used for grouping related elements. It is helpful to user if form fields are arranged in logical groups. To differentiate the look from other parts of web page, it adds a border around the related elements. Following is the syntax of the fieldset in HTML .... Attributes of the tag Following are the attributes of the tag – disabled − Disabled is an attribute ... Read More

Add a label for a form control in HTML?

Bhanu Priya
Updated on 10-Oct-2023 12:41:35

260 Views

In HTML the tag is used to define labels for serval elements like , , , , . Syntax Following is the usage of tag in HTML − form content... The tag uses for and form attributes, now let us see the values and description of for and form attributes. for − It specifies the id of form element the label is associated with. Following is the syntax of ... Read More

What is <keygen> tag in HTML?

Bhanu Priya
Updated on 10-Oct-2023 18:01:03

167 Views

In HTML tag is one of the element which is responsible for generating a pair of public and private keys. Public and private keys are used to encrypt and decrypt the data, that is sent to server, whenever an HTML form is submitted. Private key is stored on User’s local device, whereas public key is sent to server along with submitted dorm data. The tag is used to create and verify the digital signature also. tag is used to generate key and it also allows the user to choose from a range of key size options. ... Read More

Advertisements