You’ll have to pardon the brevity of today’s post, but it’s all in an aim to bring better content to y’all 😉
I’ve set aside today as a day to just write some blog posts in advance. That way, if I come to a day where I don’t know what I want to write about, I can post something that I have already written – it might be a how-to, it might be about something in my world. However, it will be me, and it will not sound like I’ve just started to write the post an hour before posting it.
However, I’ll throw in a bonus – a quick how-to. It’s from a list of things that I’ve been wanting to write up for a long time, and it is a fairly short one. 🙂
How to ‘steal’ HTML code
I’m using “steal” very loosely here – it’s more like taking a peek at a snippet of code. I know that there have been many, many times when I’ve seen something, and wondered, “How’d they do that?” Well, all I did was take a peek at the code. The browser you use will determine how easy or hard this is. For all of these examples, I’ll use the US blogs blogroll from my sidebar.
Firefox is definitely the easiest browser to do this in. When you see a snippet of a page you like, simply select it, right click, and click View Selection Source –
That will bring up a window that has the code from the part of the page you selected. In fact, the text you chose will be selected in the window, along with its code.
Then, you can copy the code and use it 🙂
Internet Explorer and Opera
Both IE and Opera do not have the same “View Selection Source” option that Firefox does (however I’m guessing that you can probably add it using an add on). For Internet Explorer, you need to simply right click anywhere on the page and click View Source. If right-clicking is not allowed on a page, then you can view the source by going to View -> Source.
This will open up Notepad and load the complete source of the page you were looking at. To find the part of the page you want, open up the search box and type in part of the page text you wanted.
In Opera, it’s slightly easier to do this, as they have a source reader built in. To access the source, press Ctrl+F3, or right click and select “Source Ctrl+F3”, or go to View -> Source
You’ll have to find the text you were looking for by opening the Find Dialog – Edit -> Find… or Ctrl+F
Now, go forth and ‘borrow’ some code while I go back to walking and then writing. 😉