Showing posts with label How To. Show all posts
Showing posts with label How To. Show all posts
Monday, July 8, 2013

How To Show Time and Date Using Javascript

0 comments
In this article,We can show time and date using javascript.
now = new Date() 
JavaScript provides a Date object that makes dealing with dates and times relatively easy.In this line a new Date object named now is created using the new object creation operator. This is a little different from how objects have been used in the examples up until now. String objects can be created by assigning literal text to a variable and then treating that variable as though it has properties and methods. The document and Math objects are created by the browser and interpreter environments and are ready to use by any script executed by them. The Date object however is designed to provide a way to create Date objects for a given date or time. The sample line creates a Date object named now that contains the date and time when the now Date was created. Like the String, document, and Math objects the Date object provides numerous useful methods for working with dates and times. 
hour = now.getHours() 
Just one of the useful methods provided by the Date object is the getHours() method. getHours()returns the hour of the time stored in the now variable. The hour is between 0 (midnight) and 23 (11 PM). If the time was between noon and less than 1 PM (13 hours) getHours() will return 12.

Here is a example,

<HTML>
 <HEAD>
<TITLE>How To Show Time and Date Using Javascript Simple Eample</TITLE>
 </HEAD>
 <BODY>
 <PRE>This Script help you to show time and date.
 <SCRIPT Language="JavaScript">

 now = new Date()                     //create a Date object named: now
 hour = now.getHours()            //hours range from 0 to 23.
                                               //0 is midnight to before 1 AM.
  document.write(now)
 </SCRIPT>
 </PRE>
 </BODY>
 </HTML> 

Output : This Script help you to show time and date. Mon Jul 08 2013 13:18:03

NOTE:THE TIME SHOW HERE IN THIS OUTPUT IS THE TIME WHEN I POST THIS ARTICLE.
Read more...
Saturday, May 25, 2013

How To Look Like Sonam Kapoor

0 comments
Sonam Kapoor (born 9 June 1985) is an Indian actress. She appears in Bollywood films. She is the daughter of Indian film actor Anil Kapoor. Sonam Kapoor made her acting debut in 2007 in Sanjay Leela Bhansali's Saawariya opposite Ranbir Kapoor. She is a fashionista and now you can also get her look or look like her from her hairstyle to her dressing style.Just follow these tips given below.

How To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam KapoorHow To Look Like Sonam Kapoor
How To Look Like Sonam Kapoor


Sonam Kapoor's Hair Styles Tips:

Well if you want long, glorious mane of hair like sonam kapoor than massage your hair daily with almond oil or coconut oil,especially during winter. Sonam brushes her hair with a hairbrush from Conair and uses Kerastase hair products.

Her hair color is natural black or you can dye your hair dark brown with some medium brown natural-looking highlights.And according to your makeup and clothes keep changing your hairstyles.Just remember don't thought too much just to have fun with your hairstyles.

Sonam Kapoor's Top Hairstyles:

Sonam Kapoor's Braid Look:

Braiding is a complex structure or pattern formed by intertwining three or more strands of hair.You can try either fishtail braided style or you can also try milkbraid hairstyle like sonam kapoor.

How To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyleHow To Look Like Sonam Kapoor Braided hairstyle
How To Look Like Sonam Kapoor (Braided Hairstyle)

Sonam Kapoor's Grecian(Greek) Goddess Look:


How To Look Like Sonam Kapoor (Greek hairstyle) tipsHow To Look Like Sonam Kapoor (Greek hairstyle) tipsHow To Look Like Sonam Kapoor (Greek hairstyle) tipsHow To Look Like Sonam Kapoor (Greek hairstyle) tipsHow To Look Like Sonam Kapoor (Greek hairstyle) tipsHow To Look Like Sonam Kapoor (Greek hairstyle) tipsHow To Look Like Sonam Kapoor (Greek hairstyle) tipsHow To Look Like Sonam Kapoor (Greek hairstyle) tips
How To Look Like Sonam Kapoor (Greek Goddess Hairstyle)

Sonam Kapoor's Updos Bun Look:


How To Look Like Sonam Kapoor(Updos Bun Hairstyle)How To Look Like Sonam Kapoor(Updos Bun Hairstyle)How To Look Like Sonam Kapoor(Updos Bun Hairstyle)How To Look Like Sonam Kapoor(Updos Bun Hairstyle)How To Look Like Sonam Kapoor(Updos Bun Hairstyle)How To Look Like Sonam Kapoor(Updos Bun Hairstyle)How To Look Like Sonam Kapoor(Updos Bun Hairstyle)How To Look Like Sonam Kapoor(Updos Bun Hairstyle)How To Look Like Sonam Kapoor(Updos Bun Hairstyle)How To Look Like Sonam Kapoor(Updos Bun Hairstyle)
How To Look Like Sonam Kapoor(Updos Bun Hairstyle)
Sonam Kapoor's Straight Look:


How To Look Like Sonam Kapoor(Straight Hairstyle)How To Look Like Sonam Kapoor(Straight Hairstyle)How To Look Like Sonam Kapoor(Straight Hairstyle)How To Look Like Sonam Kapoor(Straight Hairstyle)How To Look Like Sonam Kapoor(Straight Hairstyle)How To Look Like Sonam Kapoor(Straight Hairstyle)
How To Look Like Sonam Kapoor(Straight Hairstyle)


Sonam Kapoor's Curly Look:


How To Look Like Sonam Kapoor(Curly Hairstyle)How To Look Like Sonam Kapoor(Curly Hairstyle)How To Look Like Sonam Kapoor(Curly Hairstyle)How To Look Like Sonam Kapoor(Curly Hairstyle)How To Look Like Sonam Kapoor(Curly Hairstyle)How To Look Like Sonam Kapoor(Curly Hairstyle)How To Look Like Sonam Kapoor(Curly Hairstyle)How To Look Like Sonam Kapoor(Curly Hairstyle)How To Look Like Sonam Kapoor(Curly Hairstyle)
How To Look Like Sonam Kapoor(Curly Hairstyle)

Sonam Kapoor's Make Up Routine Tips:

There are three basic trends to follow when applying makeup to look like Sonam Kapoor.

Jazz up your outfits with red lipstick:

Like all of us, Sonam has a weakness for her favorite lipstick: her yellow-based matte red! She’ll pair this lippie with formal outfits at press events and will use it to spice up nights out on the town.

Wear neutral pink-brown lipcolors
On the days she wants her cute and funky hairstyles to shine, Sonam will keep her lips toned down with a brown-pink lipstick or lipgloss. This shade is a staple for all Bollywood actresses as a “my lips but better” color that gives polish to any look without fuss.

Master the art of the dark smoky eye:

Whether it’s in her films, at parties, or publicity events, Sonam loves to rock a smudgy dark smoky eye. This is not for the faint of heart! Use a black eye pencil paired with a matte black eye shadow to recreate this look. Don’t forget to prep your undereyes well with concealer and powder before applying!

How To Look Like Sonam Kapoor(Dark Smoky Eyes)How To Look Like Sonam Kapoor(Dark Smoky Eyes)How To Look Like Sonam Kapoor(Dark Smoky Eyes)How To Look Like Sonam Kapoor(Dark Smoky Eyes)How To Look Like Sonam Kapoor(Dark Smoky Eyes)How To Look Like Sonam Kapoor(Dark Smoky Eyes)How To Look Like Sonam Kapoor(Dark Smoky Eyes)How To Look Like Sonam Kapoor(Dark Smoky Eyes)How To Look Like Sonam Kapoor(Dark Smoky Eyes)How To Look Like Sonam Kapoor(Dark Smoky Eyes)
How To Look Like Sonam Kapoor(Dark Smoky Eyes)


Sonam Kapoor's Daily Look Tips:

To get Sonam Kapoor's cute,cool and sweet daily makeup look, than you need to  prep your skin with moisturizer and sunscreen. Follow with concealer where needed and a powder foundation. Take a smudgy black eye pencil and dot around the upper and lower lashline, then smudge to form a small wing near the lower lashline and blend to softness. Darken brows with a dark brown eyeshadow if necesssary. Curl lashes and apply mascara. Finish the look with a muted pink or brown-pink lipstick. Don’t forget to paint your nails a trendy color!

How To Look Like Sonam Kapoor(Daily Look)How To Look Like Sonam Kapoor(Daily Look)How To Look Like Sonam Kapoor(Daily Look)How To Look Like Sonam Kapoor(Daily Look)How To Look Like Sonam Kapoor(Daily Look)How To Look Like Sonam Kapoor(Daily Look)How To Look Like Sonam Kapoor(Daily Look)How To Look Like Sonam Kapoor(Daily Look)How To Look Like Sonam Kapoor(Daily Look)How To Look Like Sonam Kapoor(Daily Look)
How To Look Like Sonam Kapoor(Daily Look)

Sonam Kapoor's Diet, Exercise and Skincare Tips:

If you want stay fit,healthy and want skin like Sonam Kapoor than just read these tips.


Sonam Kapoor's Diet:

Sonam Kapoor like to keep off the stuff  likes Junk food, ice creams, fried foods, and sweets and chocolates.Put on six small meals a day that are low on carbs and high on protein .In breakfast take oatmeal and fruits. And after workout eat brown bread with white eggs. After that, drink protein shake with juice.In lunch take dal-sabzi, one ragi roti, salad and a piece of chicken or fish. The evening snack was high-fibre crackers with chicken cold cuts or egg whites. At dinner, take soup, salad and a piece of chicken or fish.
For a fresh start every morning,sip on warm water and follow that up with honey and lime water to flush out all the toxins. To stay hydrated sip coconut water, buttermilk, or cucumber juice.You can check out Healthy Diet Tips article for a healthy diet.

Sonam Kapoor's Exercises:

Sonam Kapoor like to focus on a particular body part of each day of the week,such as the abdomen, arms, shoulders or waist and do 30 minutes of cardio every day. Learn some dance exercises by get a small balance beam and walk along it - forwards and backwards and Practice Yoga. In summer,Sonam Kapoor like to swim.You can check out Top Exercises to get body like sonam kapoor

Sonam Kapoor's Skincare:

As for her skincare routine, Sonam revealed to the Afternoon Dispatch/Courier that she always wears a sunscreen above SPF30, rain or shine. She prefers to avoid heavy skincare products with lots of ingredients.  Used milk as an astringent and sometimes besan and curd [yogurt].
Read more...
Sunday, May 19, 2013

How To Use Image Tag in Html

0 comments
Here in this post i will teach you that how to use  image tag in html.With the help of this tag you can insert images to your html web page.You can set the height and width of the image with the help of height and width attributes.You can also use the alternate attribute for displaying the text on the image.

  • For Height and Width of the image <img src="url" width="" height="">
  • For Alternate Text of the image <img src="url" alt="Image Text">

Here URL is the address of your image:

You can find the address of your image by right click of mouse and than open the image in your default browser.You can also find the address of the image which is on the server,just right click and than copy the image url and paste it in the image tag.

This tags are work in the body section only i.e. between <body>and</body> tag only.
The above tag and attributes are use in the example given below.

<html>
<head>
<title>
How To 99
</title>
</head>
<body>
<img src="url" alt="Image Text" width="" height="">
</body>
</html>

Copy the above Code and Paste in your Notepad or Notepad++ and saves the code with .html like abc.html or whatever you want and run the code.
Read more...

How To Use Bold,Italic and Underline Tag in Html

0 comments
Here in this post i will teach you that how to use bold,italic and underline tag in html.If you want your text in bold, italic or in underline than use these tags.

  • For Bold Text <b>Your Text </b>
  • For Italic Text <i>Your Text </i>
  • For Underline Text <u>Your Text </u>
These tags are work in the body section only i.e. between <body>and</body> tag only.
The above tags are use in the example given below


<html>
<head>
<title>
How To 99
</title>
</head>
<body>
<b>Bold-How To 99</b>
<i>italic-How To 99</i>
<u>underline-How To 99</u>
</body>
</html>

Copy the above Code and Paste in your Notepad or Notepad++ and saves the code with .html  like abc.html or whatever you want and run the code.

Read more...
Saturday, May 18, 2013

How To Make a Simple Html Web Page

0 comments
Hyper Text Markup Language (HTML) is the main markup language for creating web pages and other information that can be displayed in a web browser.Now you can also make or create these webpages with the help of this simple code given below.

Simple Html Webpage Code :
<! DOCTYPE html>
<html>
<head>
<title>
How To 99
</title>
</head>
<body>
Anything that you write in body section will display on the browser window
</body>
</html>
In the above code,
  • The DOCTYPE declaration defines the document type.
  • The text between <html> and </html> describes the web page.
  • The text between <title> and </title> is the title of your page.
  • The text between <body> and </body> will display on your web-browser window.
Read more...
 
How To 99 © 2013 How to 99 &

How to Tutorial in 99 Categories