on air

Creating Comments In CSS.

back home » Web Tutorials » CSS » Creating Comments In CSS.


Scenario.

Sometimes you'll like to add information to CSS script making it easier to remmember what script is all about. This could be achieved by using the CSS comment tag, making comment read in source only, so browser will not display it.

In this tutorial I'm going to explain how to do this, stay tuned and read ahead.

CSS Comment.

You may have notice me using /*comment*/ and may be wondering what that is.

It's very simple to explain. Whatever you'll write between /*xxx*/ is for CSS a comment, and browser will ignore to interpret it.

This means, you can write comments attach to your declarations on the way. This will keep you alarmed, on what styling declarations are all about in the case of reviewing.

You can also use it for declarations that are for future use. Simply clear this /*and*/ and they'll be activated again.

Note: Comments can only be defined together or separately. Nesting-In Comments is senseless in CSS. See illustration below.

RIGHT - Comment will disable the script below and will not be executed because browser will ignore it.

  	/*
h1, h2, h3, h4 {
    font-family:Verdana, Arial, Helvetica, sans-serif;
    color : #ededed;
    text-align: center;
	}
*/

WRONG - Comment will disable script below, but makes no sense because it's nested in here. It looks like you're trying to disable what's already disabled.

/*
Note: it's not allowed to nest-in comments. 
like this:
	/*
h1, h2, h3, h4 {
    font-family:Verdana, Arial, Helvetica, sans-serif;
    color : #ededed;
    text-align: center;
    }
 	*/
*/

CSS Comment Tutorial Video.

Clicks4UrMind

Man will give you worldly powers, and make you feel on top of all, note this is temporally and could be redrawn at anytime sending you back to the ground floor of life. However, the Lord Almighty, the one and the only rightful ruler of the Universe, blesses everlastingly.

Brain

Knowledge is Power, but Power is not Knowledge. Wisdom is the truthful Power that identifies the Knowledge within the man. And only, I repeat 3x. Only the almighty God has the power to bless the man with his Wisdom forever.

To achieve the Lord's blessings, cease not praying daily, asking for his Wisdom, and you'll be blessed abundantly...

SPYERA PHONE

Spyera Phone

Spyera Phone version is software that you install on a smart phone to monitor everything happening on the phone. After installation, SPYERA secretly records events (sms, call history, phone book, location, emails, What's App messages, IM, Facebook Chat, Skype, See photos taken and many more...) that happen on the phone and delivers these information to a web account, where you can view these reports 24/7 from any Internet enabled computer or mobile phone. SPYERA also allows you to listen to the surroundings of the target mobile , listen to the phone conversation and to know the location of the device.


Please, Kindly Donate What You Can, Enabling Us Pay Hosting And Domain Costing, And Do More.

Please Donate