Hey Guys! I am Making A New HTML guide because for some reason my on my old one i can’t access it. So I made a even better one!
(NOTE: All HTML Present Is Property Of HTML Dog.
:sob: So, here we go!

HTML: What does it stand for? HyperText [HT] Markup [M] Language [L] HTML.

What is it for? Hypertext Markup Language is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.

Lets Begin!

The basic structure of an HTML document includes tags, which surround content and apply meaning to it.

<!DOCTYPE html>
    This is my first welcome message

The appearance of the welcome message will not have changed at all, but the purpose of HTML is to apply meaning, not presentation, and this example has now defined some fundamental elements of a welcome message.

The first line on the top, <!DOCTYPE html> , is a document type declaration and it lets the page know which flavor of HTML you’re using (HTML5, in this case). It’s very important to stick this in - If you don’t, browsers will assume you don’t really know what you’re doing and act in a very peculiar way.

To get back to the point, <html> is the opening tag that kicks things off and tells the browser that everything between that and the </html> closing tag is an HTML document. The stuff between <body> and </body> is the main content of the document that will appear in the browser window.

The </body> and </html> put a close to their respective elements (more on elements in a moment).
Not all tags have closing tags like this ( <html></html> ) some tags, which do not wrap around content will close themselves. The line-break tag for example, looks like this : <br> - a line break doesn’t hold any content so the tag merrily sits by its lonely self. We will come across these examples later. All you need to remember is that all tags with content between them should be closed, in the format of opening tag → content → closing tag. It isn’t, strictly speaking, always a requirement, but it’s a convention we’re using in these tutorials because it’s good practice that results in cleaner, easier to understand code.
You might come across “self-closing” tags, whereby a br tag, for example, will look like “ <br /> ” instead of simply “ <br> ”. This is a remnant of XHTML, a form of HTML based on another markup language called XML. HTML5 is much more chilled out than XHTML and will be happy with either format. Some developers prefer one way, some prefer the other.

Tags can also have attributes , which are extra bits of information. Attributes appear inside the opening tag and their values sit inside quotation marks. They look something like <tag attribute="value">Margarine</tag> .

Tags tend not to do much more than mark the beginning and end of an element. Elements are the bits that make up web pages. You would say, for example, that everything that is in between (and includes) the <body> and </body> tags is the body element. As another example, whereas “ <title> ” and “ </title> ” are tags , “ <title>Rumple Stiltskin</title> ” is a title element .


All HTML pages should have a page title .

To add a title to your page, change your code so that it looks like this:

<!DOCTYPE html>
    <title>My first web page</title>
    This is my first web page

There were two new elements added here, that start with
the head tag and the title tag (and see how both of these close)

The head element (that which starts with the <head> opening tag and ends with the </head> closing tag) appears before the body element (starting with <body> and ending with </body> ) and contains information about the welcome message.

Now that you have the basic structure of an HTML document, you can mess around with the content a bit.

Go back to edit mode and add another line to your page:

<!DOCTYPE html>
    <title>My first welcome message</title>
    This is my first welcome message
    How exciting

You might have expected your document to appear as you typed it, on two lines, but instead you should see something like this:

This is my first web page How exciting.

If you want text to appear on different lines or, rather, if you intend there to be two distinct blocks of text (because, remember, HTML is about meaning, not presentation), you need to explicitly state that.

Change your two lines of content so that they look like this:

<p>This is my first web page</p>
<p>How exciting</p>

The p tag is used for paragraphs.
Look at the results of this. The two lines will now appear on two lines because the browser recognizes them as separate paragraphs.

Think of the HTML content as if it were a book - with paragraphs where appropriate.

You can emphasize text in a paragraph using em (emphasis) and strong (strong importance).

<p>Yes, that really <em>is</em> exciting. <strong>Warning:</strong> level of excitement may cause head to explode.</p>

That is it for now! Feel free to make comments on the post in the reply section.

Go Check Out HTML Dog:
Make Sure To Check Out My CSS Guide:

Was this helpful?

1 Like

Please remember to act accordingly and don’t throw this topic off for any reason. :slight_smile:

I am not milla in any way, but I am sure she would say something like this.

1 Like

Dont worry, I have learned to take constructive criticism. :smiley::+1:


This is great :+1:

1 Like


1 Like