You are now ready to viewpoint the material of HTML: components.
Elements give framework to a HTML information and reveals the web web web web web web web browser how you want your website to be provided. Usually components has a start tag, some material, and an end tag.
"Tags"?
Manufacturers are brands you use to indicate up the beginning and end of a function.
All brands have the same format: they begin with a less-than sign "<" and end with a greater-than sign ">".
Generally talking about, there are two kinds of brands - beginning tags: <html> and finishing tags: </html>. The only difference between an beginning tag and a finishing tag is the forward decrease "/". You product content by putting it between an beginning tag and a finishing tag.
HTML is all about elements. To comprehend HTML is to comprehend and use different brands.
Can you display me some examples?
Okay, the aspect em focus released published written text. All released published written text between the starting tag <em> and the completing tag </em> is forced in the web web web browser. ("em" is short for "emphasis".)
Example 1:
Example 1:
<em>Emphasised text.</em>
Will look like this in the browser:
The elements h1, h2, h3, h4, h5 and h6 is used to make headings (h seems to be for "heading"), where h1 is the first level and normally the greatest published written text, h2 is the second level and normally a bit little published written text, and h6 is the 6th and last in the framework of headings and normally the smallest published written text.
Example 2:
Emphasised text.
The elements h1, h2, h3, h4, h5 and h6 is used to make headings (h seems to be for "heading"), where h1 is the first level and normally the greatest published written text, h2 is the second level and normally a bit little published written text, and h6 is the 6th and last in the framework of headings and normally the smallest published written text.
Example 2:
<h1>This is a heading</h1>
<h2>This is a subheading</h2>
Will look like this in the browser:
This is a subheading
This is a heading
This is a subheading
So, I always need an starting tag and a ending tag?
As they say, there's an exemption to every concept and in HTML the exemption is that there are a few components which both make in the same tag. These so-called vacant components are not linked with a particular passing in the writing but rather are separated brands, for example, a range crack which looks like this: <br />.
Should brands be joined in uppercase or lowercase?
Most browsers might not care if you type your tags in upper, lower or mixed cases. <HTML>, <html> or <HtMl> will normally give the same result. However, the correct way is to type tags in lowercase. So get into the habit of writing your tags in lowercase.
As they say, there's an exemption to every concept and in HTML the exemption is that there are a few components which both make in the same tag. These so-called vacant components are not linked with a particular passing in the writing but rather are separated brands, for example, a range crack which looks like this: <br />.
Should brands be joined in uppercase or lowercase?
Most browsers might not care if you type your tags in upper, lower or mixed cases. <HTML>, <html> or <HtMl> will normally give the same result. However, the correct way is to type tags in lowercase. So get into the habit of writing your tags in lowercase.
Where do I put all these tags?
You kind your labels in an HTML papers. A web page contains one or more HTML records. When you browse the Web, you merely start different HTML records.
If you keep the next session in 10 moments you will have created your first web page.

0 comments: