Showing posts with label HTML Tags. Show all posts
Showing posts with label HTML Tags. Show all posts

A few new tags to learn

There are a lot more tags, but we will just cover few more for now, mostly straightforward to use and you can see the effect in your web page when you use them:

<q> - The q tag is for quote. This has no relationship to the somewhat confusing sing and double quote character, rather it's used when you want to quote a person or written work in your web pag. It is customarily displayed using quotation marks, again unrelated to strings. thus <q>Brevity is beautiful</q>

 <blockquote> - If you want to quote a larger passage, you may want to use blockquote , which will typically set the quoted text apart from the surrounding text and indent it, to make clear that it is quoted text.

Early to bed and early to rise, makes someone healthy, wealthy and wise-Benjamin Franklin
 <hr> - This one might be debatable, HR originally stood for "Horizontal Rule", i.e. horizontal line across width of the text. It's still there in HTML , but now is officially supposed to represent a "thematic break" in the content.


Complete Index HTML Tags Part 1




*** Bold tags are only available for HTML5


<! --.. --> Define Comment
<!DOCTYPE> Define the document type
<a> Define a hyperlink
<abbr> Define Abbreviation or an Acronym
<acronym> Define an Acronym(Not Supported in HTML5, use <abbr> instead)
<address> Define Contact information
<applet> Java Applet(Not Supported in HTML5, Use <Object> instead)
<area> Define an area inside image-map
<article> Define an article
<aside> Define content aside from the page content
<audio> Define sound content
<b> Define bold text
<base> Specifies the base URL/target for all relative URL in the document
<basefont> Specifies a default color,size and font for all text in a document(Not supported in Html use CSS instead)
<bdi> Isolates a part of text that might be formatted in a different direction from other text outside it.
<bdo> Overrides the current text direction.
<big> Define big text (Noit supported in HTML5, use CSS instead)
<blockquote> Define a section that is quoted from another source
<body> Define the documents body
<br> Define a single line break.
<button> Define a clickable button.
<canvas> Use to draw graphics, on the fly, via scripting (Usually Java script)
<caption> Define a table caption.
<center> Define center text(Not supported in HTML5, use CSS instead)
<cite> Define the title of work.
<code> Defines a piece of computer code
<col> Specifies column properties for each column within a <colgroup> element
<colgroup> Specific group of one or more column in a table for formatting.
<datalist> Specifies a list of pre-defined option for input control.
<dd> Defines a descriptive/value of a term in description list.
<del> Define text that has been deleted from document.
<details> Defines additional details that the user can view or hide
<dfn> Represent the defining instance of a term.
<dialog> Define a dialog box.
<dir> Define a directory list (Not supported in HTML5. Use <ul> instead)
<div> Define a section in a document
<dl> Define a description list
<dt> Defines term/name in a description list.