| HTML Tags | ||||||||||||||||||||||||
| Block Tags | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
| <acronym>..text..</acronym>Tag | ||||||||||||||||||||||||
| The tag defines the start of an acronym, like "WWW" and"C.B.I.". By marking up acronyms you can give useful information to browsers, spell checkers, translation systems and search-engine indexers. | ||||||||||||||||||||||||
| The title attribute can be used to show the full version of the expression when you are holding the mouse over theacronym(text). | ||||||||||||||||||||||||
| Format: | ||||||||||||||||||||||||
| <acronym title="text_to_display_when_mouse_over_the_text">..text..</acronym> | ||||||||||||||||||||||||
| <abbr>..text..</abbr> | ||||||||||||||||||||||||
| Indicates an abbreviated form, like "Inc.", "etc.". By marking up abbreviations you can give useful information to browsers, spell checkers, translation systems and search-engine indexers. | ||||||||||||||||||||||||
| In some browsers the title attribute can be used to show the full version of the expression when you are holding the mouse over the abbreviation. | ||||||||||||||||||||||||
| Format: | ||||||||||||||||||||||||
| <abbr title="text_to_display_when_mouse_over_the_text">..text..</abbr> | ||||||||||||||||||||||||
| <address> ..address..</address> | ||||||||||||||||||||||||
| The <address> tag defines the start of an address. You should use it to define addresses, signatures, orauthorships of documents. The address usually renders in italic. Most browsers will add a line break before and after the address element, but line breaks inside the text you have to insert yourself. | ||||||||||||||||||||||||
| Format with Example: | ||||||||||||||||||||||||
| <address> Donald Duck<br /> Box 555<br /> Disneyland </address> Output: Donald Duck Box 555 Disneyland | ||||||||||||||||||||||||
| <blockquote>.........Text........</blockquote> | ||||||||||||||||||||||||
| The <blockquote> tag defines the start of a longquotation. | ||||||||||||||||||||||||
| <blockquote> <p>here is a long quotation</p> </blockquote> | ||||||||||||||||||||||||
| <center>....</center> | ||||||||||||||||||||||||
| This tag Centers its enclosed text horizontally. | ||||||||||||||||||||||||
| Format: | ||||||||||||||||||||||||
| <center>... text .......</center> | ||||||||||||||||||||||||
| <q> small text</q> | ||||||||||||||||||||||||
| The <q> tag defines the start of a short quotation. | ||||||||||||||||||||||||
| Format: | ||||||||||||||||||||||||
| <q> small text</q> | ||||||||||||||||||||||||
| <cite> | ||||||||||||||||||||||||
| This tag defines the citation. | ||||||||||||||||||||||||
| Format: | ||||||||||||||||||||||||
| <cite> text </cite> | ||||||||||||||||||||||||
| <ins> | ||||||||||||||||||||||||
| This tag provide the facility of inserting the text inbetween the text. | ||||||||||||||||||||||||
| Format: | ||||||||||||||||||||||||
| <ins> text </ins> | ||||||||||||||||||||||||
| <del> | ||||||||||||||||||||||||
| Defines text that has been deleted in a document. | ||||||||||||||||||||||||
| Format: | ||||||||||||||||||||||||
| <del>..text..</del> | ||||||||||||||||||||||||
| <s>or<strike> | ||||||||||||||||||||||||
| The <s> and <strike> tags defines strikethrough text. | ||||||||||||||||||||||||
| Format: | ||||||||||||||||||||||||
| <s> text </s> or <strike> text</strike> | ||||||||||||||||||||||||
| Examples of Block tags | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
| Now you have learned the Output Tags, so now lets do some practical. | ||||||||||||||||||||||||
| Just write/copy this example on any text editor new file and save the file and open in the browser and see how it looks. | ||||||||||||||||||||||||
| Example: | ||||||||||||||||||||||||
| <html> <head> <title>Block Tags</title> </head> <body> <br><b> center tag </b> <center>Center this text</center> <b> acronym tag </b> <acronym title="World Wide Web">WWW</acronym><br> <b> abbr tag </b> <abbr title="hypertext markup language"> HTML</abbr><br> <b> blockquote tag </b> <blockquote>here is a long quotation here is a long quotation</blockquote> <b> del tag </b> a dozen is <del>20</del> pieces!<br> <b> ins tag </b> a dozen is <ins>12</ins> pieces!<br> <b> s tag </b> A new version is <s>not yet available.</s> now available! <b> strike tag </b><br> A new version is <strike>not yet available.</strike> now available! </body> </html> |
HTML Tags
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment