facebook status - HTML Coding basics

HTML Coding basics

Some online-publishing tools are so simple that you can post a blog without ever encountering an angle bracket. Still, learning even a smidgeon of basic HTML will give you a lot of control over your content. You can ensure that the text follows your style rules (for italics or quotation marks, for instance), and you can find formatting bugs when you view a page’s source code.
HTML is a series of instructions (code) that tell webpage-viewing tools like browsers how to render your page. HTML tells Web browsers where to place graphics, which typeface and color the text should be, how to lay out columns, which page a link should take the user to when the link is clicked, and so on.
Most webpages are built using HTML, which stands for Hypertext Markup Language. The HTML “marks up” the textual and graphical content of a page, using devices such as “tags” to tell a browser how to display the content.
Example
Text marked up with HTML
Do <strong>not</strong> use the Housekeeper 3000 robot for this purpose.
Text as the browser displays it
Do not use the Housekeeper 3000 robot for this purpose.
(The <strong> tag instructs the browser to place emphasis on the word “not”; usually the word will appear in boldface type. A “voice browser,” or screen reader, may use a different tone when reading “not.”)

Anatomy of a webpage

You can see the HTML “instructions” for any webpage by looking at the page’s source code. For example, in Mozilla Firefox 3.0, go to the webpage you want to examine, click the View menu, and choose Page Source. You will see a daunting pageful of code. But once you know what to look for, you may be surprised at how easy it is to understand.
Tags tell the browser what to do. The page probably has at or near the top an “open tag” that looks like this: <html>. That tag tells the browser, “Start interpreting HTML now, and don’t stop until you get a command to stop interpreting HTML.”
Now scroll to the bottom of all that code. At or near the end of the page you’ll see a “close tag” that looks like this: </html>. It tells the browser, “Stop interpreting HTML now.” A close tag has a forward slash (/) after the opening angle bracket (<) but otherwise matches its corresponding open tag.

Examples of common tags include:
Open tag
Close tag
Effect
<h1>
</h1>
Text between these tags appears as a top-level headline.
<em>
</em>
Text between these tags is emphasized and usually appears in italics.
<strong>
</strong>
Text between these tags is strongly emphasized and usually appears in boldface.

Although much of HTML works on the “open tag, close tag” principle, a few open tags don’t have corresponding close tags. For example, the line-break tag <br> has none. However, XHTML, a reformulation of HTML that some websites use, does require a close tag for every open tag—even for tags such as <br>. So, for tags that in HTML have no close tag, a person using XHTML must add a space and a slash so that the tag will “self-close.”
Example
In HTML
Ring around the rosy,<br>
A pocket full of posies;<br>
In XHTML
Ring around the rosy,<br />
A pocket full of posies;<br />
The following example shows some simple HTML in action.
Example  
<html> <head> <title>This Is the Text That Appears in a Browser's Title Bar</title> <meta name="description" content="This page illustrates some basic HTML markup in action. (This description may appear, along with the title above, in search results listings.)"> </head>
<body> <h1>This is a top-level heading, or headline</h1> <p>This is the first paragraph appearing under the headline.</p> <p>This is another paragraph, with <strong>this part of it in boldface type.</strong></p> <p>This is another paragraph, with <em>this part in italic.</em></p>

<body> <h1>This is a top-level heading, or headline</h1> <p>This is the first paragraph appearing under the headline.</p> <p>This is another paragraph, with <strong>this part of it in boldface type.</strong></p> <p>This is another paragraph, with <em>this part in italic.</em></p>
<blockquote>Let's say your block quote is a poem<br> One with short lines, so short<br> You need line-break tags to break them.</blockquote>

This code is creating a bulleted (unnumbered) list: <ul> <li>First bullet point</li> <li>Second bullet point</li> <li>Third bullet point</li> </ul>
This code is creating a numbered list: <ol> <li>First item in the list</li> <li>Second item in the list</li> <li>Third item in the list</li> </ol>

<h3>This is a tertiary heading</h3> <p>Here is a paragraph to tell you that the code below is for an image. The image source tag (img src) tells the browser where on your computer or on the Web to find the image in order to display it; the width and height numbers tell the browser how big a space the picture will require on the page, and the alt text is there to fill the space in case the image doesn't appear (the alt text will also be read by screen-reading software used by people who can't see images).</p>
<img src="picture.jpg" width="534" height="800" alt="This is the alt text that appears if the image doesn't load.">
<p>This is the last paragraph on the page. So, following the end paragraph tag are a close tag to tell the browser that this is the end of the "body" of the page and then a close tag to tell the browser that this is the end of this HTML page altogether.</p> </body> </html>


Sample HTML in FirefoxA screenshot showing how the sample HTML page appears in a Firefox browser

How to mark up copy

Following is a quick primer on how to format some basic elements in HTML. But before you incorporate any tags into your copy, check with your site administrator or producer to find out which tags your content-publishing system requires.
TIP
To comply with XHTML rules, lowercase the tags: Use <strong>, not <STRONG>. In addition, if multiple tags apply to one piece of text, the tags must be properly “nested” inside each other: If an open tag begins inside another set of tags, that tag must also end inside that other set of tags. For example, here an <em> tag begins inside a set of <p> tags, so it must also end inside the set of <p> tags: <p>This sentence with one word <em>emphasized</em></p> is correctly nested. <p>This sentence with one word <em>emphasized</p></em> is not correctly nested.
Paragraphs and line breaks
Insert a <p> tag when you want to begin a new paragraph. The closing </p> tag is required in XHTML, and it doesn’t hurt to use it in HTML—so you might as well use it. 

Example                                                                                                                                                  

<p>Tuscany, schmuscany. If you're looking for simple yet flavorful, rustic yet sophisticated Italian cuisine with a focus on fresh ingredients, try a taste of Sicily.</p>
<p>Invaded time and again by a procession of settlers and conquerors, the island of Sicily has been fought over and occupied by Phoenicians, Greeks, Romans, Arabs, Berbers, Spanish Muslims, and Normans, not to mention Barbarians and Vandals. The legacy of this tortuous history is a cuisine rich in delicious diversity.</p>
 To force a line to break at a particular point, insert a <br> tag. But use a self-closing <br /> tag if your website uses XHTML.
Example
HTML
Shall I compare thee to a summer's day?<br>
Thou art more lovely and more temperate.<br>
XHTML

Shall I compare thee to a summer's day?<br />
Thou art more lovely and more temperate.<br />
Links
To create a link to another page on your site or to a page on another site, use the “hyperlink reference” or “href” anchor tag (the a at the beginning and end of the code stands for anchor): <a href="URL goes here">Text to be linked goes here</a>.

TIP

Notice the quotation marks around the URL: It’s important to put the name of the URL in quotes, but make sure they’re straight quotes (" "), not smart ones (“ ”). Never use smart (also called curly) quotes in code.
Example
Marked-up text
Learn how to make Sicilian specialties in your own kitchen, including savory <a href="siteURL/street-snacks">street snacks</a>, <a href="siteURL/palermoseafood">Palermo-style seafood</a>, and irresistible <a href="siteURL/siciliandesserts">desserts</a> such as cannoli.
Displayed text
Learn how to make Sicilian specialties in your own kitchen, including savory street snacks, Palermo-style seafood, and irresistible desserts such as cannoli.
Bulleted and numbered lists
To create a bulleted list (or unordered list, which is what the ul in the code stands for), use the following code:
<ul>
<li>First bullet point</li>
<li>Second bullet point</li>
<li>Third bullet point</li>
</ul>

TIP

It may help to remember that li stands for list item.
An example of a bulleted list
A screenshot showing how the bulleted list example appears in a browser
To create a numbered list (or ordered list, which is what the ol stands for), use this code:
<ol>
<li>First item in the list</li>
<li>Second item in the list</li>
<li>Third item in the list</li>
</ol>
An example of a numbered list
A screenshot showing how the numbered list example appears in a browser
Block quotation
Sometimes you may want to display text—a long quote, for example—as an indented “extract,” or “block text.” Use the <blockquote> tag around the text you want indented.

Example

<p>In this passage from what is perhaps her best-known book, Jane Austen's writing shines:</p>
<blockquote>More than once did Elizabeth, in her ramble within the park, unexpectedly meet Mr. Darcy. She felt all the perverseness of the mischance that should bring him where no one else was brought, and, to prevent its ever happening again, took care to inform him at first that it was a favourite haunt of hers. How it could occur a second time, therefore, was very odd!</blockquote>


Free, facebook, tips, Links, blogging, Downloads, Google, facebookTips, money, news, apps, Social, Media, Website, Tricks, games, Android, software, PIctures, Internet, Security, Web, codes, Review, bloggers, SAMSUNG, Worldwide, Contest, Exitic, Phones, facebookTricks, hacking, London, Olympics, SEO, Youtube, iOS, Adsense, gadgets, iPHONE, widgets, Doodle, twitter, video, Deals, technology, Aircel, Airtel, iPAD, Angry, Birds, BSNL, TechLife, GMAIL, Idea, Microsoft, SmartPhones, Stress, Buster, Windows, Yahoo, Infolinks, Nokia, Scam, Uninor, browsers, Amazon, Euro, CUP, Chat, IDM, JOBS, Modem, Music, Reliance, Results, SSC, Tata, Docomo, bing, freebie, mobile, placements, AIEEE, AlertPay, Chrome, College, Competetive, Exam, Dehradun, Extension, FireFox, GPRS, HTC, IMPACT, Info, MTS, Mark, Zukerberg, Paypal, Promotional, Post, Torrent, UTU, Unlocking, VodaFone, Wall, Paper, apple, books, engineering, iCAR, iTunes, pinterest, rovio, AVG, Admit, Card, Adobe, Affiliate, Marketing, Akhilesh, Amul, Girl, BlackBerry, ChromeBook, Clixsense, Coupon, Digitallife, Discovery, Emoticons, Festival, GATE, GIMP, Income, Tax, International, JSS, JailBreaking, Kindle, Linux, Local, MAX, PAYNE, Mac, Mango, Memory, Speed, Nexus, Online, Shopping, Raakhi, Report, Rising, Stars, Sample, Science, Sony, Syllabus, TabletBooK, Teamviewer, Templates, Dark, Knight, Rises, USA, UPMT, Virgin, Xperia, ZTE, challan, counselling, course, btech, funny, iMOVE, registration

source:http://trafficneed.blogspot.com/2012/06/135786650617725.html

Labels

Web Search Gmail Google Docs Mobile YouTube Google Maps Google Chrome User interface Tips iGoogle Social Google Reader Traffic Making Devices cpp programming Ads Image Search Google Calendar tips dan trik Google Video Google Translate web programming Picasa Web Albums Blogger Google News Google Earth Yahoo Android Google Talk Google Plus Greasemonkey Security software download info Firefox extensions Google Toolbar Software OneBox Google Apps Google Suggest SEO Traffic tips Book Search API Acquisitions InOut Visualization Web Design Method for Getting Ultimate Traffic Webmasters Google Desktop How to Blogging Music Nostalgia orkut Google Chrome OS Google Contacts Google Notebook SQL programming Google Local Make Money Windows Live GDrive Google Gears April Fools Day Google Analytics Google Co-op visual basic Knowledge java programming Google Checkout Google Instant Google Bookmarks Google Phone Google Trends Web History mp3 download Easter Egg Google Profiles Blog Search Google Buzz Google Services Site Map for Ur Site game download games trick Google Pack Spam cerita hidup Picasa Product's Marketing Universal Search FeedBurner Google Groups Month in review Twitter Traffic AJAX Search Google Dictionary Google Sites Google Update Page Creator Game Google Finance Google Goggles Google Music file download Annoyances Froogle Google Base Google Latitude Google Voice Google Wave Google Health Google Scholar PlusBox SearchMash teknologi unik video download windows Facebook Traffic Social Media Marketing Yahoo Pipes Google Play Google Promos Google TV SketchUp WEB Domain WWW World Wide Service chord Improve Adsence Earning jurnalistik sistem operasi AdWords Traffic App Designing Tips and Tricks WEB Hosting linux How to Get Hosting Linux Kernel WEB Errors Writing Content award business communication ubuntu unik