HMTL meanings

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

<a> Tag By default, links will appear as follows in all browsers:

-An unvisited link is underlined and blue -A visited link is underlined and purple -An active link is underlined and red

Common DOCTYPE Declarations HTML 4.01 Frameset This DTD is equal to HTML 4.01 Transitional, but allows the use of frameset content.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">

Common DOCTYPE Declarations HTML 4.01 Transitional This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font). Framesets are not allowed.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Common DOCTYPE Declarations HTML 4.01 Strict This DTD contains all HTML elements and attributes, but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

Common DOCTYPE Declarations XHTML 1.0 Frameset This DTD is equal to XHTML 1.0 Transitional, but allows the use of frameset content.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

Common DOCTYPE Declarations XHTML 1.0 Strict This DTD contains all HTML elements and attributes, but does NOT INCLUDE presentational or deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

Common DOCTYPE Declarations XHTML 1.0 Transitional This DTD contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like font). Framesets are not allowed. The markup must also be written as well-formed XML.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Common DOCTYPE Declarations XHTML 1.1 This DTD is equal to XHTML 1.0 Strict, but allows you to add modules (for example to provide ruby support for East-Asian languages).

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

Common DOCTYPE Declarations HTML 5

<!DOCTYPE html>

<a> Tag example

<a href="http://www.w3schools.com">Visit W3Schools.com!</a>

<address> Tag Example

<address> Written by <a href="mailto:[email protected]">Jon Doe</a>.<br> Visit us at:<br> Example.com<br> Box 564, Disneyland<br> USA </address>

<acronym> Tag Example Not Supported in HTML5.

Can I get this <acronym title="as soon as possible">ASAP</acronym>?

<!DOCTYPE> declaration in HTML 5

HTML is not based on SGML that is why it does not require to a DTD

<!DOCTYPE> declaration

IS NOT A html TAG, it is an instruction to the web browser about what version of HTML the page is written in.

<acronym> tag usage

If the <address> element is inside an <article> element, it represents contact information for that article.

<acronym> Tag definition

If the <address> element is inside the <body> element, it represents contact information for the document.

New Attributes in HMTL 5 download

Specifies that the target will be downloaded when a user clicks on the hyperlink

New Attributes in HMTL 5 media

Specifies what media/device the linked document is optimized for

<a> Tag

The <a> tag defines a hyperlink, which is used to link from one page to another.

<abbr> Tag Example

The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.

<abbr> Tag

The <abbr> tag defines an abbreviation or an acronym, like "Mr.", "Dec.", "ASAP", "ATM".

<acronym> Tag

The <acronym> tag defines an acronym. An acronym must spell out another word. For example: NASA, ASAP, GUI. Marking up acronyms can give useful information to browsers, translation systems and search-engines.

<acronym> Tag not supported in HTML 5

The <acronym> tag is not supported in HTML5. Use the <abbr> tag instead.

<address> Tag definition

The <address> tag defines the contact information for the author/owner of a document or an article.

<!--> Comment

The comment tag is used to insert comments in the source code. Comments are not displayed in the browsers.

<a> Tag most important is the ...

The most important attribute of the <a> element is the href attribute, which indicates the link's destination.

<acronym> tag usage

The text in the <address> element usually renders in italic. Most browsers will add a line break before and after the address element.

<!DOCTYPE> declaration in HTML 4.01

Three are three different <!DOCTYPE> declaration

<a> Tag Tip 2

Tip: A linked page is normally displayed in the current browser window, unless you specify another target.

<abbr> Tag TIP

Tip: An abbreviation and an acronym are both shortened versions of something else. Both is often represented as a series of letters. Marking up abbreviations can give useful information to browsers, translation systems and search-engines.

<acronym> tag tips

Tip: The <address> element will typically be included along with other information in a <footer> element.

<acronym> tag tips

Tip: The <address> tag should NOT be used to describe a postal address, unless it is a part of the contact information.

<a> Tag Tip 1

Tip: The following attributes: download, hreflang, media, rel, target, and type cannot be present if the href attribute is not present.

<acronym> Tag tip

Tip: The title attribute can be used to show the full version of the acronym when you mouse over it.

<a> Tag Tip 3

Tip: Use CSS to style links

<!--> Comment

You can use comments to explain your code which can help you when you edit the source code at a later date. useful when you have alot of code

<a> Tag in HTML 4

could be either a hyperlink or an anchor

<!DOCTYPE> tips

is NOT case sensitive

<!DOCTYPE> declaration

must be the first thing in your HTML document before the <HTML> tag

<!DOCTYPE> declaration in HTML 5

only one declaration <!DOCTYPE html>

<!DOCTYPE> declaration in HTML 4.01

refers to a DTD because HTML 4.01 was based on SGML. The DTD specifies the rules for the markup lanuage, so that the browers render the content correctly

<a> Tag in HTML 5

the <a> tag is always a hyperlink, but if it has no href attribute, it is only a placeholder for a hyperlink.


संबंधित स्टडी सेट्स

Q/Christian Faith and Living - Unit 1: Knowing Yourself

View Set

NCLEX Urinary Practice Questions

View Set

Textbook questions OB Exam 3 chapters 18, 19, 20, 21, 22, 23, 25, 30, 31, 33, 34, 35, 36, and 37

View Set

Unit 3 Test: HIT, PCC, Healthcare Organizations

View Set