Bhanu Priya

Bhanu Priya

1,060 Articles Published

Articles by Bhanu Priya

Page 20 of 106

How to add a layer in HTML?

Bhanu Priya
Bhanu Priya
Updated on 10-Oct-2023 3K+ 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

Add a label for a form control in HTML?

Bhanu Priya
Bhanu Priya
Updated on 10-Oct-2023 623 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

Add a horizontal rule in HTML

Bhanu Priya
Bhanu Priya
Updated on 10-Oct-2023 847 Views

The tag in HTML is a horizontal rule, defines a thematic break in an HTML page. It is often used to display a horizontal rule to separate the content or to change the display of content in an HTML page. It consists of only opening tag in HTML. Syntax The usage of tag in HTML is shown below − ……… The HTML tag supports following additional attributes − Attribute Value Description align left center right Specifies the alignment of the horizontal rule. noshade Noshade Removes the ...

Read More

Explain the characteristics of DBMS?

Bhanu Priya
Bhanu Priya
Updated on 07-Oct-2023 39K+ Views

There are so many characteristics of a database management system, which are as follows − A database management system is able to store any kind of data in a database. The database management system has to support ACID (atomicity, consistency, isolation, durability) properties. The Database management system allows so many users to access databases at the same time. Backup and recovery are ...

Read More

Create self-contained content in HTML5

Bhanu Priya
Bhanu Priya
Updated on 06-Oct-2023 851 Views

The element in HTML5 is used to display self-contained content (images, videos, etc). This can be attached to the main program, and can be used at any place within the document without impacting the flow of document. Additionally, if we remove the tag, it won’t affect the structure of the document. Syntax The usage of tag in HTML is shown below − Image content... The parameters used in the caption are img, src and figcaption. The tag is used to specify the image source URL when we are including an ...

Read More

How to add a container for an external (non-HTML) application in HTML5

Bhanu Priya
Bhanu Priya
Updated on 06-Oct-2023 419 Views

To add a container for an external application in HTML5 we use tag. It defines or embed a container for an external resource like, web pages, media player, pictures or a plug-in application. Following is the usage of embed tag in HTML − It doesn’t have closing tag. The browsers that support embed tag are google chrome, Internet explorer, Firefox, Apple Safari, Opera. It supports, global and event attributes in HTML. Most of the browsers display the element with default CSS settings like embed:focus { outline: none; } Attributes Now, ...

Read More

Create editable content in an HTML document

Bhanu Priya
Bhanu Priya
Updated on 06-Oct-2023 857 Views

In Html, we can edit the content by using contenteditable attribute, it specifies whether the elements content is editable or not by the user. The property of contentEditable is set or returns if the content of an element is editable. Syntax The usage/syntax of editable content in HTML is − The above contenteditable attribute has two values true/false. True indicates that the element is editable. False indicates that the element cannot be edited. Example Following is the example, to create editable content in an HTML − This ...

Read More

How do we add a definition term in HTML?

Bhanu Priya
Bhanu Priya
Updated on 06-Oct-2023 575 Views

The definition term is represented as tag in HTML, it describes the name or term in a description list. The define term is conjunction with and tags. tag is used to describe each name or term tag defines a description list. define tag supports both global and event attributes. The tag is supported by almost all browsers. Syntax Following is the syntax of define term − code Example Following example of adding a definition term in HTML. Here we are using all the three ...

Read More

How to create conditional comments in HTML?

Bhanu Priya
Bhanu Priya
Updated on 06-Oct-2023 2K+ Views

Conditional comments are nothing but conditional statements which are used to hide or provide HTML the source code from browser. First let us discuss about HTML comments then we will know more about conditional comments in HTML − HTML comments is not an executable statement; they are used to describe the statements. The comments in HTML has start and end tag, . These comments can be placed anywhere in the HTML page, but its better to place after DOCTYPE. HTML cannot hold nested comments, that means it cannot support comment within another comment. HTML comments are used to ...

Read More

How to use external “.js” files in an HTML file?

Bhanu Priya
Bhanu Priya
Updated on 04-Oct-2023 7K+ Views

What is JavaScript? JavaScript is a client-side scripting language which is used to create a dynamic webpage. It is integrated with the HTML code. JavaScript code is inserted between and tags as shown below. document.getElementById("demoId").innerHTML = "JavaScript Example"; JavaScript is a programming language that adds rich interactivity to your website (for example: games, responses when buttons are pressed or data entered in forms, dynamic styling, animation etc..). In its most common form, JavaScript resides inside HTML documents, and can provide levels of interactivity to web pages that are not achievable ...

Read More
Showing 191–200 of 1,060 articles
« Prev 1 18 19 20 21 22 106 Next »
Advertisements