Bhanu Priya has Published 1449 Articles

Create self-contained content in HTML5

Bhanu Priya

Bhanu Priya

Updated on 06-Oct-2023 16:03:48

731 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 ... Read More

Include a caption for a <figure> element in HTML5

Bhanu Priya

Bhanu Priya

Updated on 06-Oct-2023 15:59:44

168 Views

The element in HTML5 is used to add self-contained information like diagrams, photographs or code present in a document. Generally, the figure element attached to the main program, we can use at any place in the document, and we can also remove the tag without impacting the flow ... Read More

How to display a fieldset in HTML?

Bhanu Priya

Bhanu Priya

Updated on 06-Oct-2023 14:48:20

691 Views

Fieldset is an element in HTML, used for grouping related elements. It is helpful to user if form fields are arranged in logical groupings. To differentiate the look from other parts of web page, it adds a border around the related elements. tag is used to define a caption ... Read More

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

Bhanu Priya

Bhanu Priya

Updated on 06-Oct-2023 14:46:07

327 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 ... Read More

How do we include an emphasized text in HTML?

Bhanu Priya

Bhanu Priya

Updated on 06-Oct-2023 14:41:40

493 Views

To Emphasize the text content in HTML we use tag. It is same as tag. It has closing and opening tags, . The tag is a phrase tag. It renders as emphasized text. Emphasized text The text that is present in between open and ... Read More

Create editable content in an HTML document

Bhanu Priya

Bhanu Priya

Updated on 06-Oct-2023 14:37:28

777 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 ... Read More

How do we include a section in an HTML document?

Bhanu Priya

Bhanu Priya

Updated on 06-Oct-2023 14:30:29

1K+ Views

Section is one of the tag used in HTML, which defines the section of document like header, footers, chapters etc., Section tag divided the content of document into two parts, section and subsections. It is useful when there is a requirement of two headers or footers or chapter ... Read More

How do we add a definition term in HTML?

Bhanu Priya

Bhanu Priya

Updated on 06-Oct-2023 14:25:24

484 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 ... Read More

How to create conditional comments in HTML?

Bhanu Priya

Bhanu Priya

Updated on 06-Oct-2023 14:21:52

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 ... Read More

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

Bhanu Priya

Bhanu Priya

Updated on 04-Oct-2023 17:30:46

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 ... Read More

Advertisements