How Did He Do THAT?

That’s a question I ask myself almost daily – when looking at websites in general, and at blogs in particular. Just about everything I do in my blogs is copied from somebody else. There’s no classes “Blogging 101” etc.

Well, here is yet another reason why I push Firefox.

View Selection Source

If you are looking at a web page or blog, and you see a feature that intrigues you, simply:

  1. Highlight the portion of the webpage that interests you.
  2. Right click and select “View Selection Source”.
  3. A view page source window will pop up, with the code to produce just the highlighted elements, from step 1, highlighted.

What better way to learn? Try my sample article.

  • Click on the link.
  • Highlight the portion of the page beginning with “yesterday”, and ending with “Experience”. It helps to highlight objects before and after the area that interests you, to get the context.
  • Right click in the highlighted area, and select “View Selection Source”.
  • If you find the source, as displayed in the popup window, hard to read, just copy the highlighted code (Ctrl – C), open Notepad, and paste.
  • Voila.
  • So THAT’s how he (she) did it!

If you have just Internet Explorer or Opera, sorry. Get Firefox.

Anyway, once you find code that interests you, find out how to use the code. The W3 CSS / HTML website is excellent for this purpose.

  • Go to the W3 website.
  • Find the Site Search applet in the upper right of the web page.
  • Type the CSS / HTML tag, with the brackets around it, that interests you. Hit enter.
  • The search results will include a number of hits. The top hit should link to the tutorial page for that tag.
  • The tutorial web page will briefly describe the tag, and its characteristics.
  • Near the bottom of each tutorial web page, look for “Try-It-Yourself Demos”. The demos are like live labs, with code on the left, and the resulting display on the right. You can type in changes and see results as you watch.

If there’s an easier way to learn, please let me know.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: