Found 9053 Articles for Front End Technology

How do we include a section in an HTML document?

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

754 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 or other sections of document needed. Section tag groups the related content in a generic block. It is a semantic element, that describes meaning to browser as well as developer. section has open and closing tags, It supports almost all browsers. Section tag also supports global attributes ... Read More

How do we add a definition term in HTML?

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

211 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

Check whether the content of an element is editable or not in HTML

Yaswanth Varma
Updated on 05-Sep-2022 14:08:41

642 Views

The contenteditable attribute indicates whether or not an element's content is editable. If the content is found to be editable, the browser will allow editing by modifying its widgets. This attribute must always take one of these two values below − true, or an empty string − indicating that the content is editable false − indicating that the content is not editable If the attribute does not take any of the values mentioned above, it is declared an empty string and will, by default, become an editable content. Note − If an element's contenteditable attribute is not ... Read More

How to create Definition Lists in HTML5?

Yaswanth Varma
Updated on 05-Sep-2022 14:10:37

2K+ Views

A description list—previously known as a definition list—offers an organised arrangement of a term and its definition. For defining a definition list, the following tags are used − − This is the list of definitions. It stores terms and their definitions as tables of rows and data. − This is the term used to define. It keeps the phrase under definition. − This serves as the description or definition. It contains the definition of a particular term. Using these tags, Following are the examples… Example In the following example we are using , , ... Read More

How do we include a table caption in HTML?

Yaswanth Varma
Updated on 05-Sep-2022 13:08:43

346 Views

The element is used to add caption to an HTML table. A "caption" must be the first descendant of a parent "table" in an HTML document, however it can be visually positioned at the bottom of the table using CSS. SyntaxTable title... The element contains global attributes and deprecated align attributes (left, right, top, bottom). This element must be used immediately after the table tag is opened as it is a table caption. If a figure needs to be captioned instead of a table use . Following are the examples… Example In the following example we are ... Read More

How to center text in HTML?

Srinivas Gorla
Updated on 31-Aug-2023 01:55:04

133K+ Views

The text in an HTML document can be horizontally centred by using the HTML tag. Since HTML5 did away with this tag, it is advised that you format the document's text horizontally instead by using the CSS text-align property. The element is another name for this tag. Note − Not supported in HTML5 Syntax ... Following are the examples… Example In the following example we are using tag to make our text aligned to the center. DOCTYPE html> Welcome to TutorialsPoint ... Read More

How to specify whether the element is to have its spelling and grammar checked or not in HTML?

Yaswanth Varma
Updated on 05-Sep-2022 12:30:10

252 Views

Grammar and spelling errors in text fields can be found using the HTML spell check tool. Using the spellcheck property, the spell check capability may be added to HTML forms. The spellcheck attribute is an enumerated attribute that specifies whether or not the HTML element will be checked for mistakes. It is compatible with HTML's "input" and "textarea" fields. Syntax Following are the syntax for including spell check in HTML − . . Following are the examples… Example: Spellcheck value =”true” In the following example we triggered the spellcheck attribute to “true” to enable spellcheck in ... Read More

How do we include big text in HTML?

Yaswanth Varma
Updated on 05-Sep-2022 12:28:04

534 Views

The HTML makes the enclosed content shown with a font size that is one level bigger than the text (medium becomes large, for example). The size is limited to the largest font size supported by the browser. Syntax Contents... Following are the examples… Example In the following example we are using html to make our text bigger. DOCTYPE html> Tutorialspoint welcome to tutorials the best e-way learning Output When the script is executed, the text "the best e-way learning" increases ... Read More

How to represent text that must be isolated from its surrounding for bidirectional text formatting in HTML?

Yaswanth Varma
Updated on 05-Sep-2022 12:26:38

132 Views

The HTML element instructs the bidirectional algorithm of the browser to treat the text it contains independently of the content around it. It's very helpful when a website dynamically adds some text without knowing which direction it should go. For example, few languages like Arabic, Urdu or Hebrew are written in the right – to – left direction instead of the usual left – to – right. We use the tag before and after the text that goes in the opposite direction of the script to rearrange it. However, if there is confusion about the text direction ... Read More

How to add a base font in a HTML page?

Yaswanth Varma
Updated on 05-Sep-2022 12:44:01

356 Views

The HTML tag specifies the standard font-family, font-size, and colour for the text in the HTML document. It is advised that you format the text in the document using CSS attributes like font, font-family, font-size, and colour since this tag was deleted in HTML5. Note − Not supported in HTML5 Syntax Following are the examples… Example: Instead using CSS (basefont is not supported by html5) In the following example we are using css style to allow basefont as it was alternative of it. DOCTYPE html> body ... Read More

Advertisements