Found 8894 Articles for Front End Technology

Create a media resources for media elements, defined inside video or audio elements in HTML5

Bhanu Priya
Updated on 10-Oct-2023 15:17:41

314 Views

HTML5 supports five media elements, which are helpful in creating media resources. The different media tags are , , , and . These tags are used to change the development, let us discuss about each element in detail with an example − The tag If you want to play videos on your web page, then HTML element can be used for it. HTML element provides a standard way to embed videos in a web page. The simple code to embed a video is as follows − ... Read More

Create small text in HTML

Bhanu Priya
Updated on 10-Oct-2023 15:13:57

426 Views

If we want to set a small font size in HTML document use tag. This tag is used to decrease the font size by one that is from medium size to small size or extra-large to large size. There are two ways, we can use this tag in HTML: In a nested form In a non-nested form Syntax Following is the usage of small font tag in HTML - text… It has opening and closing tags. It supports global as well as event attributes. Example Following example demonstrates the usage of small tag ... Read More

How to display completion progress of a task in HTML5?

Bhanu Priya
Updated on 10-Oct-2023 14:56:29

244 Views

If we want to serve a visual demonstration of completion of any task or goal, we use element. To display how much progress has been towards task completion we use max and value attributes. Following is the syntax of tag in HTML - Progress has open and closing tags. It is a new semantic element in HTML5. For displaying a file is being uploaded also this progress bar is used. The HTML tag supports the following attributes − Attribute Value Description max Max It should have a value greater than ... Read More

How to display a short quotation in HTML?

Bhanu Priya
Updated on 10-Oct-2023 14:54:08

274 Views

In Html, in order to insert quoted text in browser page, we use quotation element. The quoted text appears different when compared to normal text. What is element? This element is used to insert quotation marks to the set of text in HTML document. It has opening and closing tag. Following is the syntax of element in HTML. text…… Example Following is an example using which we are trying to display a short quotation in HTML – Usage of Quotations ... Read More

How to add preformatted text in HTML?

Bhanu Priya
Updated on 10-Oct-2023 14:51:57

543 Views

In HTML tag is used for preformatted text. The text in between open and closed tags displayed exactly as written in HTML document. The usage of preformatted text is shown below - ---- The element displayed the text with preserved space and line breaks and also represents in a fixed-width font. Example Following example, which tries to add preformatted text in HTML − Different variations on Displaying Paragraph The pre element displayed the text with preserved space and line breaks ... Read More

How to include the result of a calculation in HTML5?

Bhanu Priya
Updated on 10-Oct-2023 14:41:01

511 Views

To define or include a result of calculation in HTML, we use tag. The output tag helps in providing the result of calculation, which is performed by the JavaScript (Client side scripting language). Syntax Following is the usage of tag − --- Attributes The attributes used in output tag is shown below − Attribute Description for List of IDs of other elements, i.e. it indicates the elements who have contributed input value to the calculation. form Enables to place output elements anywhere within a ... Read More

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

Bhanu Priya
Updated on 18-Nov-2023 03:19:19

1K+ Views

For creating a drop-down list in HTML, we use command, it is generally used in form for collecting user input. To refer the form data after submitting, we use name attribute. If there is no name attribute, then there will be no data from drop-down list. For associating the drop-down list with label; id attribute is needed. For defining options in drop-down list, we have to use tag inside the element. Syntax Following is the usage of tag in HTML - The HTML ... Read More

How to add a parameter for an object in HTML?

Bhanu Priya
Updated on 10-Oct-2023 14:30:30

841 Views

To define parameters for plug-ins that is associated with object element we use tag. tag does not contain end tag. The tag supports all browsers, but the file format defined in object may not support. It also supports the global and event attributes in HTML. Syntax Following is the usage of tag in HTML − The parameter tag in HTML, accepts four attributes, as shown below − name − The name attribute in param tag used to specify the name of the parameter. value − The value attribute in param tag is ... Read More

Section that contains only navigation links in HTML5

Bhanu Priya
Updated on 10-Oct-2023 14:27:49

122 Views

Navigational links can be provided by using tag in the document. The links of nav element navigates to other webpages or points to different section of same webpage. Examples of nav element are contents, tables, menus and indexes. Syntax Following is the usage of tag in HTML − Links…… Example Following example where we are trying to create a section that contains only navigation links − TutorialsPoint ... Read More

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

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

151 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

Advertisements