Sunday, 26 June 2016

[26/06/16] Random Content: HTML

Yes, you read this correctly. I am bringing back Random Content posts. However, they'll just be a catch-all for anything that doesn't fit under the other post titles. Anyway, let's get going!

Today I thought I'd do a post all about HTML.

Hypertext Markup Language, or HTML, is the standard 'markup language' (like a programming language, but it tells computers how to display web pages) used on the Internet. Let me give you an example of some HTML and then tell you what it means:

<span style="color: red;">This text is red.</span>

This shows:
This text is red.

It means:
The <span style> part means that anything within it and the </span> tag will have the specified style. The color: red part gave it the colour of red. (You can tell when something was developed in America when it doesn't accept a U in colour.)

Let's try something a bit more complicated now...

<span style="color: orange; font-size: large;"><b>This text is large, bold and orange.</b></span>

This shows:
This text is large, bold and orange.

It means:
This time, we made the text orange. We also provided a text size this time. By putting in font-size: large, we made the text larger than normal. When you put the text in-between <b> and </b> tags, it makes the text bold.

Let's try one last complicated task...

<u><a href="https://en.wikipedia.org/wiki/Main_Page">This is a link to the Wikipedia front page.</a></u>

This shows:
This is a link to the Wikipedia front page.


It means:
Like the <b> and </b> tags, when you put text in-between <u> and </u> tags, it underlines it. The <a href="https://en.wikipedia.org/wiki/Main_Page"> part means that the text between that and the </a> tag will be a clickable link to the URL https://en.wikipedia.org/wiki/Main_Page, which is the Wikipedia front page.

There are a lot more complicated tags, like <sup> and <sub> for superscript and subscriptrespectively. There are quite a few that would confuse me if I saw them!

Anyway, in conclusion, HTML is a common way of writing things on the Internet so that computers display them the way you want them to.

So then, I can safely say that I'll see you on Friday next. There'll be some more game news released then, and I'll try to post as soon as possible! Bye for now!