Code is scary. Here is some intimidating code from the Perl Programming Language:
use push_pull; $data_bytes = pack "C10", 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; $data = new push_pull::CkByteData(); $data->append($data_bytes,10); $blockSize = 16; $paddingScheme = 0; $data->pad($blockSize,$paddingScheme); print $data->getEncoded("hex") . "\r\n";
I have no idea what this does, but just looking makes me want to join the Amish. It looks like some foreign language, and nothing could be more daunting than looking at newspaper in another language. Who has time to learn another language? No one. Ever.
Good news! This is English! It’s just a set of instructions for the machine to follow. Simple ones. Learn the instructions, learn the language, triumphant victory.
The first language you want to learn is HTML. HyperText Markup Language. This language is structural. It structures your data into a webpage. You “markup” your content with tags.
A tag looks like this:
A slash is used to end a tag. Like so:
Here is how you use one:
Something is <strong>wrong</strong> with grandma.
The strong tag causes things to become bold. The code above will produce this:
Something is wrong with grandma.
Easy, no? That’s HTML. There is nothing more to it. There are quite a few tags to learn, but they all obey the same rules. There are tags to place an image, tags to turn text into links, every piece of a webpage is defined by a tag. Even the webpage itself. (It’s the <html> tag).
So, what exactly is a website, anyway?