Posted on

Three ways to insert CSS – cascading style sheets

cascading style sheets

CSS How To…


When a browser reads a style sheet, it will format the HTML document according to the information in the style sheet.

working with CSS
working with CSS

Three Ways to Insert CSS

There are three ways of inserting a style sheet:

  • External style sheet
  • Internal style sheet
  • Inline style

External Style Sheet

With an external style sheet, you can change the look of an entire website by changing just one file!

Each page must include a reference to the external style sheet file inside the <link> element. The <link> element goes inside the <head> section:

Example

<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
Try it Yourself »

An external style sheet can be written in any text editor. The file should not contain any html tags. The style sheet file must be saved with a .css extension.

Here is how the “mystyle.css” looks:

body {
  background-color: lightblue;
}

h1 {
  color: navy;
  margin-left: 20px;
}

Note: Do not add a space between the property value and the unit (such as margin-left: 20 px;). The correct way is: margin-left: 20px;


Continue reading Three ways to insert CSS – cascading style sheets
Advertisements
Posted on

Content Delivery Network (CDN)

A content delivery network or content distribution network (CDN) is a geographically distributed network of proxy servers and their data centers. The goal is to provide high availability and high performance by distributing the service spatially relative to end-users. CDNs serve a large portion of the Internet content today, including web objects (text, graphics and scripts), downloadable objects (media files, software, documents), applications (e-commerce, portals), live streaming media, on-demand streaming media, and social media sites.

Global content delivery network
Global content delivery network

Google Hosted Libraries

The Google Hosted Libraries is a stable, reliable, high-speed, globally available content distribution network for the most popular, open-source JavaScript libraries.

Google works directly with the key stakeholders for each library effort and accepts the latest versions as they are released.

Libraries

To load a hosted library, copy and paste the HTML snippet for that library (shown below) in your web page. For instance, to load jQuery, embed the 

<script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js“></script>

snippet in your web page.

We recommend that you load libraries from the CDN via HTTPS, even if your own website only uses HTTP. Nowadays, performance is fast, and caching works just the same. The CDN’s files are served with CORSand Timing-Allow headers and allowed to be cached for 1 year.

Global content delivery network
Global content delivery network

Best CDN Providers To Speed Up A Website

  • Cloudflare. Cloudflare is a highly reliable CDN service provider for protecting your website and boosting its performance even under Free plans. … 
  • MaxCDN. … 
  • Cachefly. … 
  • Rackspace. … 
  • Key CDN. … 
  • Akamai. … 
  • Amazon CloudFront. … 
  • jsDelivr.
Posted on

Fresh air with three plants – How to grow fresh air

With its air-filtering plants and sustainable architecture, Kamal Meattle’s office park in New Delhi is a model of green business. Meattle himself is a longtime activist for cleaning up India’s air.

– Kamal Meattle

Researcher Kamal Meattle shows how an arrangement of three common houseplants, used in specific spots in a home or office building, can result in measurably cleaner indoor air.

How to grow fresh air Kamal Meattle

Areca Palm, Mother-in-law’s Tongue, Money Plant
Areca Palm, Mother-in-law’s Tongue, Money Plant

Source: www.ted.com/talks/kamal_meattle_on_how_to_grow_your_own_fresh_air

Posted on Leave a comment

The Three Gates – Eknath Easwaran

The Three Gates – Eknath Easwaran

The Sufis advise us to speak only after our words have managed to pass through three gates. At the first gate, we ask ourselves “Are these words true?” If so, we let them pass on; if not, back they go. At the second gate, we ask, “Are they necessary?” At the last gate , we ask, “Are they kind?” – Eknath Easwaran

The Bhagavad Gita for Daily Living - THREE VOLUME SET
The Bhagavad Gita for Daily Living – THREE VOLUME SET

Posted on Leave a comment

Monty Python Playlist

Monty Python and The Flying Circus

Monty Python were a British surreal comedy group who created their sketch comedy show Monty Python’s Flying Circus, which first aired on the BBC in 1969. Forty-five episodes were made over four series. The Python phenomenon developed from the television series into something larger in scope and impact, including touring stage shows, films, numerous albums, several books, and musicals.

The Pythons’ influence on comedy has been compared to the Beatles’ influence on music. Their sketch show has been referred to as “not only one of the more enduring icons of 1970s British popular culture, but also an important moment in the evolution of television comedy”.

Graham Chapman, John Cleese, Terry Gilliam, Eric Idle, Terry Jones, and Michael Palin
Graham Chapman, John Cleese, Terry Gilliam, Eric Idle, Terry Jones, and Michael Palin

Posted on Leave a comment

Basketball – March Madness

March Madness 2014

Basketball – NCAA History

Dr. James Naismith

There are three special names for NCAA College Championship rounds (March Madness).

The tournament starts with sixty-four teams. After the 1st round  thirty-two teams remain.

The names begin on the 2nd round:

  • Sweet Sixteen (round 2)
  • Elite Eight (round 3)
  • Final Four (round 4)

At this stage the final two teams play for the NCAA Championship. It’s March Madness!

Basketball History

James Naismith
James Naismith

Dr. James Naismith is known world-wide as the inventor of basketball. He was born in 1861 in Ramsay township, near Almonte, Ontario, Canada. The concept of basketball was born from Naismith’s school days in the area where he played a simple child’s game known as duck-on-a-rock outside his one-room schoolhouse. The game involved attempting to knock a “duck” off the top of a large rock by tossing another rock at it. Naismith went on to attend McGill University in Montreal, Quebec, Canada.

Duck on the Rock

After serving as McGill’s Athletic Director, James Naismith moved on to the YMCA Training School in Springfield, Massachusetts, USA in 1891, where the sport of basketball was born. In Springfield, Naismith was faced with the problem of finding a sport that was suitable for play inside during the Massachusetts winter for the students at the School for Christian Workers.

December 21, 1891 First Game of Basketball Played in Springfield
December 21, 1891 First Game of Basketball Played in Springfield

Naismith wanted to create a game of skill for the students instead of one that relied solely on strength. He needed a game that could be played indoors in a relatively small space. The first game was played with a soccer ball and two peach baskets used as goals. Naismith joined the University of Kansas faculty in 1898, teaching physical education and being a chaplain.

The original 1891 Basket Ball court in Springfield College
The original 1891 Basket Ball court in Springfield College

Continue reading Basketball – March Madness

Posted on Leave a comment

The Big Three – Churchill, Roosevelt, and Stalin

Yalta Conference 1945 Churchill, Stalin, Roosevelt
Churchill, Roosevelt, and Stalin—the leaders of the three major Allied powers—were known during World War II as the Big Three. The Big Three and their military advisers planned the strategy that defeated the Axis. Churchill and Roosevelt conferred frequently on overall strategy. Stalin directed the Soviet war effort but rarely consulted his allies.

The strategy

Churchill, Roosevelt, and Stalin
The Big Three – Churchill, Roosevelt, and Stalin

Roosevelt relied heavily on his military advisers, the Joint Chiefs of Staff. They consisted of General of the Army Henry H. Arnold, commanding general of the Army Air Forces; General of the Army George C. Marshall, chief of staff of the Army; Fleet Admiral Ernest J. King, chief of naval operations; and Fleet Admiral William D. Leahy, Roosevelt’s chief of staff. Churchill had a similar advisory body.

Tehran Conference
Tehran Conference

The main wartime disagreement among the Big Three concerned an Allied invasion of western Europe. Stalin constantly urged Roosevelt and Churchill to open a second fighting front in western Europe and thus draw German troops from the Soviet front. Both Roosevelt and Churchill supported the idea but disagreed on where and when to invade. The Americans wanted to land in northern France as soon as possible. The British argued that an invasion of France before the Allies were fully prepared would be disastrous. Instead, Churchill favored invading Italy first. His view won out.

The Big Three Churchill, Roosevelt & Stalin Discuss Post-War Europe (1945) War Archives
The Big Three Churchill, Roosevelt & Stalin Discuss Post-War Europe (1945) War Archives

Roosevelt and Churchill first met in August 1941 aboard ship off the coast of Newfoundland. They issued the Atlantic Charter, a statement of the postwar aims of the United States and the United Kingdom. After the Japanese attacked Pearl Harbor, Roosevelt and Churchill conferred in Washington, D.C. The two leaders felt that Germany was a nearer and a more dangerous enemy than Japan. They decided to concentrate on defeating Germany first.

In January 1943, Roosevelt and Churchill met in Casablanca, Morocco. They agreed to invade the Mediterranean island of Sicily after driving the Germans and Italians from northern Africa. At the conference, Roosevelt announced that the Allies would accept only unconditional (complete) surrender from the Axis powers. Churchill supported him.

Roosevelt and Churchill first met with Stalin in November 1943 in Teheran, Iran. The Big Three discussed plans for a joint British and American invasion of France in the spring of 1944. They did not meet again until Germany neared collapse. In February 1945, Roosevelt, Churchill, and Stalin gathered at Yalta, a Soviet city on the Crimean Peninsula. They agreed that their countries would each occupy a zone of Germany after the war. France was to occupy a fourth zone. At the Yalta Conference, Stalin pledged to permit free elections in Poland and other countries in eastern Europe after the war. He later broke that pledge. Roosevelt died in April 1945, two months after the Yalta Conference.

The Treaty of Versailles

Posted on Leave a comment

Milton Glaser

“There are three responses to a piece of design—‘yes,’ ‘no,’ and ‘Wow.’ ‘Wow’ is the one to aim for.”

— Milton Glaser

Posted on Leave a comment

Three privacy tools that block your Internet provider from tracking you | PCWorld

It’s official: Congress has sold you out to Internet service providers, passing a bill that dismantles Internet privacy rules and allows ISPs to sell your web history and other personal information without your permission. Assuming President Trump signs the bill into law, it means anyone concerned about privacy will have to protect themselves against over zealous data collection from their ISP.

Some privacy-conscious folks are already doing that—but many aren’t. If you want to keep your ISP from looking over your shoulder for data to sell to advertisers, here are three relatively simple actions you can take to get started.

* Use HTTPS Everywhere

* Get a paid virtual private network

* Adjust your DNS (Cloudflare is a public DNS at 1.1.1.1)

— Read on www.google.com/amp/s/www.pcworld.com/article/3184767/security/three-privacy-tools-that-block-your-internet-provider-from-tracking-you.amp.html

Posted on Leave a comment

The Three Dimensions of a Complete Life

Martin Luther King Jr.

Martin Luther Knig Jr.
Martin Luther King Jr

Rev. Martin Luther King Jr.

Speech Text:

I want to use as the subject from which to preach: “The Three Dimensions of a Complete Life.” (All right) You know, they used to tell us in Hollywood that in order for a movie to be complete, it had to be three-dimensional. Well, this morning I want to seek to get over to each of us that if life itself is to be complete, (Yes) it must be three-dimensional. . .

Continue reading The Three Dimensions of a Complete Life

Posted on Leave a comment

The Elevator Pitch – WOW, HOW, NOW APPROACH

elevator pitch - wow how now

Elevator Pitch
Elevator Pitch

Offered by Brian Walter, the prominent coach speaker, it is probably the simplest way of attracting your audience to your business plan. According to this approach, your presentation should be split into three stages:

An elevator pitch is a universal tool that can be employed in any networking opportunity. Thus, share it with your team so that everyone is prepared to pitch it as soon as an opportunity arises.

The most important point, however, is to remember that the core aim of your pitch is to show the value proposition your idea creates. So don’t try to hide it by digressing into irrelevant matter.

WOW. At this stage your main purpose is to attract a person’s attention by making a compelling and often surprising statement that will make them want to find out more.

HOW. Explain what it means and state what your role is in the process.

NOW. Use storytelling to tell a real-life example of how your idea works.

Brian Walter

ABOUT BRIAN WALTER

A hiiiiiiighly humorous Extreme Emcee and infotainment expert who makes YOUR meeting memorable

He’s a Guinness Book of World Records holder for producing the world’s shortest TV commercial. Brian has earned the elite Certified Speaking Professional (CSP) designation from the National Speakers Association, and is also a member of Meeting Professionals International.

Source: https://www.espeakers.com/s/nsas/profile/12250

Posted on Leave a comment

Triple dog dare

Scene from A Christmas Story - I triple dog dare you

Verb. triple dog dare. (slang, US) Used to denote compounding levels of dare”seriousness”; the escalation of a double dog dare. I triple dog dare you to jump.

To “double dog dare” someone is to challenge them emphatically or defiantly, although the “challenge” is often meant humorously, or at least not very seriously: “I double dog dare you to eat the entire box of doughnuts!”

Continue reading Triple dog dare