1.

Width is the attribute of which tag1 font tag2 BR tag3 HR tag4 B tag​

Answer»

Explanation:

1-Not Supported in HTML5.

The tag was used in HTML 4 to specify the font face, font size, and color of text.

What to Use Instead?

Example

Set the color of text (with CSS):

This is a paragraph.

This is another paragraph.

Example

Set the font of text (with CSS):

This is a paragraph.

This is another paragraph.

Example

Set the size of text (with CSS):

This is a paragraph.

This is another paragraph.

2- Example

Insert single line breaks in a text:

To force
line breaks
in a text,
use the br
element.

Definition and Usage

The
tag inserts a single line break.

The
tag is useful for WRITING addresses or poems.

The
tag is an empty tag which means that it has no end tag.

Tips and Notes

Note: Use the
tag to enter line breaks, not to add space between paragraphs.

Example

Use
in a poem:

Be not afraid of greatness.

Some are born great,

some achieve greatness,

and others have greatness thrust upon them.

-William Shakespeare

3- Example

Use the


tag to define thematic changes in the content:

The Main Languages of the Web

HTML is the standard MARKUP language for creating Web pages. HTML describes the structure of a Web page, and consists of a series of elements. HTML elements tell the browser how to DISPLAY the content.


CSS is a language that describes how HTML elements are to be displayed on screen, paper, or in other media. CSS saves a lot of work, because it can control the layout of multiple web pages all at once.


JavaScript is the programming language of HTML and the Web. JavaScript can change HTML content and attribute values. JavaScript can change CSS. JavaScript can hide and show HTML elements, and more.

Definition and Usage

The


tag defines a thematic break in an HTML page (e.g. a shift of topic).

The


element is most often displayed as a horizontal rule that is used to separate content (or define a change) in an HTML page

4-HTML Tag

Example

Make some text bold (without marking it as important):

This is normal text - and this is bold text.

Definition and Usage

The tag specifies bold text without any extra importance.

Tips and Notes

Note: ACCORDING to the HTML5 specification, the tag should be used as a LAST resort when no other tag is more appropriate. The specification states that headings should be denoted with the

to
tags, emphasized text should be denoted with the tag, important text should be denoted with the tag, and marked/highlighted text should be denoted with the tag.

Tip: You can also use the following CSS to set bold text: "font-weight: bold;".

lobal Attributes

The tag also supports the Global Attributes in HTML.

Event Attributes

The tag also supports the Event Attributes in HTML.

More Examples

Example

Use CSS to set bold text:

This is normal text - and this is bold text.

Related Pages

HTML tutorial: HTML Text Formatting

HTML DOM reference: Bold Object

Default CSS Settings

Most browsers will display the element with the following default values:

Example

b {

 font-weight: bold;

}



Discussion

No Comment Found