Found 10483 Articles for Web Development

Create small text in HTML

Sindhura Repala
Updated on 27-Jan-2025 15:37:38

868 Views

HTML Tag To set a smaller font size in an HTML document, use the tag. This tag decreases the font size by one level, from medium to small or extra-large to large. There are two ways to use the tag in HTML. The tag also supports the global attributes and event attributes in HTML. This tag is not deprecated, but it is possible to achieve better results or nearly the same effect with CSS. The tag supports both Event Attributes and Global Attributes in HTML. Although not deprecated, similar or better results can be achieved ... Read More

How to display completion progress of a task in HTML5?

Sindhura Repala
Updated on 21-Jan-2025 11:01:09

452 Views

To visually demonstrate the completion of task or goal, we use the element. The max and value attributes show the progress made towards task completion. The element offers a visual representation of the completion status of task. It's typically displayed as a progress bar, indicating how much of a particular task has been completed. Here is the syntax for the tag in HTML − The element has both opening and closing tags. It is a new semantic element in HTML5. This progress bar id also used to display the progress of file being uploaded. ... Read More

How to display a short quotation in HTML?

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

380 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

721 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

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

Sindhura Repala
Updated on 21-Jan-2025 15:50:21

2K+ Views

Creating a Dropdown List To create a drop-down list in HTML, we use the tag, which is generally used in forms to collect user input. To refer to the form data after submission, we use the name attribute. Without the name attribute, no data will be collected from the drop-down list. To associate the drop-down list with a label; the id attribute is needed. To define options in the drop-down list, use the tag inside the element. Syntax Following is the usage of tag in HTML - ... Read More

How to add a parameter for an object in HTML?

Bhanu Priya
Updated on 09-Apr-2025 12:04:44

2K+ Views

How to Add a Parameter for an Object in HTML The tag is used to define a parameter of an HTML element. The tag does not contain a closing tag. The tag supports all browsers, but the file format defined in an object may not support it. It also supports the global and event attributes in HTML. Below is the syntax − The tag is deprecated and is no longer recommended. While some browsers might still support it, it has been removed from the relevant web standard and is only maintained for ... Read More

Section that contains only navigation links in HTML5

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

319 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

299 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

Multi-Column Layout for Text Flow using HTML

Bhanu Priya
Updated on 10-Oct-2023 14:24:19

2K+ Views

In HTML tag is used to create multi-column layouts. It has opening and closing tags, . Following is the syntax of multicol tag. …….. Attributes of tag Following are the attributes used in tag − cols The value used for col attribute is number and it specifies how many columns need to be used. Following is the syntax of cols attribute in mutlicol tag. gutter The value used for gutter attribute is px, it specifies the distance between each column in pixels. Following is the Syntax ... Read More

Advertisements