The Ten Commandments of HTML Coding

HTML, short for Hyper Text Markup Language, is the standard coding language used for the creation of web pages. It is utilized as a means to dictate the appearance and structure of a document's text-based information, as well as to complement said text with images,...

read more
Things we miss about Mom’s Cooking

Things we miss about Mom’s Cooking

Not all of us are blessed with the opportunity to eat mom’s food regularly. Most of us leave home at a tender age some of us right after schooling, a few of us for work reasons and a pathetic few spend their whole schooling life in the hostel. If you do not fall under...

read more

FOOD

LATEST UPDATES

VIEW ALL

Do You Know Where Your Expired Medicine Goes When You Flush it Down the Toilet?

 

Each year, millions of U.S. citizens continue to flush their old prescription medicine down the toilet despite a warning issued by the Environmental Protection Agency (EPA) back in 2003. Improper disposal of old medicine not only pollutes our nation’s water supplies, it also accumulates in garbage dumps where animals can be poisoned or scavengers can collect up the old drugs to use or resell.
With hormones and antibiotics now showing up in our waterways, scientists are encouraging both private citizens and nursing homes from using the old stand-by to dispose of both over the counter and prescription medications.

According to the Associated Press, one study estimated that our nation’s nursing homes alone throw away between $73 million to $378 million worth of antibiotics, hormones and other medications each year. Larger medical facilities often incinerate expired pills, but they too flush medicines down toilets as a means of mass disposal. Choosing these medications, just like choosing skin products should come from great reviews, like the one I currently bought–vitamin c serum for face reviews.

A few years ago, the U.S. Geological Survey (USGS) found remnants of medicines including narcotic painkillers, estrogen from birth control pills and flushed vaginal rings, antidepressants and blood pressure medicines in water samples from thirty states.

While the long-term effects of medicinal water pollution and urban runoff aren’t known, scientists from the EPA and USGS are concerned that exposure to even small amounts of toxins might cause ecological damage. Studies have linked hormone ingestion to reproductive side effects in fish, and environmental contact with antibiotics may promote an increase of drug-resistant germs.

So what are we supposed to do with those old pills in our medicine cabinets? Why, mix it with old kitty litter of course! While there is no perfect solution, officials suggest placing ground up medicine in your cat’s old kitty litter, or coffee grounds if you don’t own a cat, will stop animals from ingesting pills in dumps and will keep the human scavengers away.

If you don’t have kitty litter or coffee grounds on hand, when given a choice, experts say disposing medications in the trash is better than putting them into the sewers, but only because the runoff takes longer to get into our streams. Make sure to crush up medicines in pill form first, and then place the powder back into its original container and duct tape the cap.

Another option is to look up local hazardous waste collection programs in your area and see if they accept expired medications. If they do accept old pills, it would be best to grind them up first and send them back unlabeled. Your local poison control center might be able to suggest disposal locations in your area.

Pharmacies across the nation have been holding “clean out your medicine cabinet” awareness programs each fall, but no matter what time of year you choose to wade through your old prescriptions, most pharmacies will gladly accept your old and unused over-the-counter and prescription medications for proper disposal. Contact your local pharmacy to see if they are currently running a disposal program.

The Ten Commandments of HTML Coding

HTML, short for Hyper Text Markup Language, is the standard coding language used for the creation of web pages. It is utilized as a means to dictate the appearance and structure of a document’s text-based information, as well as to complement said text with images, interactive forms, links and other objects. It provides a basis for embedding scripted code within a document, manipulates the appearance of browsers and cursors and is generally used to present information for viewing on the internet in an organized and user-friendly manner.
A sound knowledge of HTML is a powerful tool for the aspiring web designer, and it’s a relatively easy skill to acquire. However, with great power comes great responsibility. That’s why I’ve taken the liberty of compiling a list of general guidelines that I had to learn through first-hand experience and experimentation. These will hopefully make your adventures with HTML more productive and educational.

10. Thou shalt not forget thine end tags.
For every beginning, there is an end. This applies to life as well as proper HTML code. Every opening tag is a command that sends a specific piece of information to the browser that is interpreting your code. In order for any command to take effect, a closing tag must be placed at the end of that particular line of code. This was what I learned from years of being with web development companies.

For example, if you would like a certain line of text to be displayed in italics, simply add an lt; i gt; tag before the desired line of text and an lt; /i gt; tag where you want the italic effect to end.

lt; i gt;In your document, this text would be italic. lt; /i gt;

NOTE: I’ve added two extra spaces within my example tags so that they will display properly within the article. When you’re writing your own code, you will NOT add such spaces.

9. Thou shalt not use excessive effects.
There are a number of different effects that can be achieved through the use of HTML, however, very few of them are of any use to anyone who desires a professional appearance for their document. Pop-up windows, cursor effects, background music, scrolling text within the status bar and colorful text effects are only a few of the many effects that can be applied to a document with HTML. If you’re looking to convey your information and be taken seriously, then do yourself a favor and omit the flashy effects.

8. Thou shalt create easy navigation within thine documents.
It’s very easy to throw all of your information into one document and let that be it. Menu bars, however, are one of the most convenient and useful objects you can place into your document to make navigation easier for those who view it. These wonderful links allow you to divide your information into separate categories and create different documents to display it. What’s even better is that once you have the basic template for your page coded, all you have to do is copy and paste the code for your document and replace existing information within the code to create an entirely new page with the same layout.

7. Thou shalt use proper grammar and spelling.
Nothing is more unprofessional than grammatical and spelling errors within your document. The best code in the world will not compensate for content that is presented poorly. If need be, take an extra 30 seconds and run your material through spell check within whatever word processor you like to work with. It’s worth the extra effort.

6. Thou shalt use Meta tags.
So you’ve adhered to the guidelines I’ve listed so far and have coded yourself a presentable, easy-to-navigate and well-coded document that deserves to be promoted. How can you use HTML to do this, you ask? It’s called the meta tag, and it’s a cool way to get your web page submitted to the indexes of popular search engines.

Basically, there are three different types of meta tags.

lt; META name=”resource-type” content=”document” gt;

The only resource in use is “document.” This is the only tag you need to include for indexing purposes.

lt; META name=”description” content=”a description of your page” gt;

With most search engines, this will be displayed along with the title of your document in an index. Content can equal a list of keywords, a sentence or a paragraph to describe your page.

lt; META name=”keywords” content=”a, list, of, keywords” gt;

Select whichever applicable keywords you can think of and list them separated by commas.

5. Thou shalt use Meta tags responsibly.
Do not submit content to search engines that is not actually displayed on your page for the sake of getting more hits when your document is indexed. This practice is commonly referred to as “cloaking,” and it generally looked down upon by your potential viewers.

4. Thou shalt use descriptive Title and Alt tags.
I wouldn’t go as far as to say that the “Title” tag is the most important tag you can learn in HTML, but it’s definitely up there. This tag defines the text that will be displayed in the status bar of any browser that views your document. You should title each document according to the content that it displays so as to make navigation simple for your viewers.

“Alt” tags are also useful in the event that your viewers are surfing the web with images disabled within their browsers. Simply add an “Alt” tag within your “Image” tag and write a brief description of the image that is displayed. If a viewer has images turned off, this description will tell them about the image that would be displayed under normal circumstances.

3.Thou shalt go forth, explore the internet and view Source codes.
The best way to further your education with HTML is to open your browser, surf over to the nearest web site you know of with a cool layout or effect that you don’t know how to code and view the source code. Simply check your toolbar for a “View” button and scroll down to “Source” or “View Source.” This will open a Notepad document that will display the very code that makes the page you’re currently viewing possible. Make sure to copy/paste any code that you want to learn about into your own Notepad document and see what it does in an HTML document. This will help you learn things that a common HTML tutorial simply won’t cover.

2. Thou shalt make friends, link to them and ensure such links actually work.
This doesn’t just apply to links that lead to your affiliates. You should check any and all links within your document to make sure that they aren’t broken. Viewers could potentially miss out on entire sections of your content if your links aren’t interconnected as they should be.

Furthermore, once your site is running smoothly you will do well to find other sites of similar content and become affiliates with them. This will give your site more publicity and generally create more hits for everyone. It’s a win-win situation, just make sure your links work!

1. Thou shalt proofread your code.
Like any piece of writing worth publishing, you should not spend your free time coding up an HTML document without taking a spare moment to proofread your work. Check for typographical errors, broken links or tags, missing commas or parenthesis and any other potential mix-ups that could cause problems within your document.

When you save your Notepad document with the .html extension, it is possible to preview it before you actually upload it to a server and make it available on the internet. This will help you locate most problems, as you can determine any discrepancies between the code you typed and the way the document is actually laid out. Be sure to take advantage of this and you’ll likely end up with clean code and a smooth presentation every time.

So, there you have it. This is not a comprehensive guideline or tutorial for HTML, but if you consider these general rules when working up your code then things should move along quite nicely. You’ll likely end up with a product that both you and your viewers will be pleased with, and hopefully learn something new in the process.

Source:
Wikipedia, “HTML”
URL: http://en.wikipedia.org/wiki/HTML

NEWEST

The Ten Commandments of HTML Coding

HTML, short for Hyper Text Markup Language, is the standard coding language used for the creation of web pages. It is utilized as a means to dictate the appearance and structure of a document's text-based information, as well as to complement said text with images,...

Things we miss about Mom’s Cooking

Not all of us are blessed with the opportunity to eat mom’s food regularly. Most of us leave home at a tender age some of us right after schooling, a few of us for work reasons and a pathetic few spend their whole schooling life in the hostel. If you do not fall under...

TRENDING NOW

The Ten Commandments of HTML Coding

HTML, short for Hyper Text Markup Language, is the standard coding language used for the creation of web pages. It is utilized as a means to dictate the appearance and structure of a document's text-based information, as well as to complement said text with images,...

Things we miss about Mom’s Cooking

Not all of us are blessed with the opportunity to eat mom’s food regularly. Most of us leave home at a tender age some of us right after schooling, a few of us for work reasons and a pathetic few spend their whole schooling life in the hostel. If you do not fall under...