FANDOM


IntroductionEdit

HTML Yay! This is your first time ever coding a website. How exciting! But don't you want to know what importance the HTML holds? HTML is used to design web pages as simple as that. HTML is very easy to learn but it is a very powerful markup language that can control web designs. HTML together with CSS helps make web pages look beautiful. So let's start learning coding! To start off:

  • Open Notepad, if you are Windows user.
  • Open TextMate, if you are a Macintosh user.

There are other text editors too. At bottom is a list of recommended Text editors that can be helpful and easy to use.

Starting offEdit

To start off on the first line put <!DOCTYPE html>, this shows it is HTML code. Then put <html> on the line below to show the start of the HTML document. After that, write down </html> because this ends the HTML document.

It should look like this:

<!DOCTYPE html>
<html>
</html>

Next StepEdit

Next, in between <html> and </html> type down <head> everything you put between that and a </head> tag (tags are markups between <>). They don't appear on the pages.

It should look like this:

<!DOCTYPE html>
<html>
<head>
</head>
</html>

<body> tagsEdit

The final basic bit of structuring html is the body tag. This is simply <body> or </body>. All the code that actually shows goes between them.

It should look like this now:

<!DOCTYPE html>
<html>
<head>
</head>
<body>
</body
</html>

SavingEdit

To save your work follow these intructions:

  1. Click Save (Control + S)
  2. Write the file name
  3. After the filename write .html
  4. So the file should look like this: filename.html
  5. Click Save

(This website will look blank. For now atleast.) To know how to add things inside go to: Lesson 2>>.)

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.