Polaroid
2025-06-21 00:16
WELCOME TO INSTALOADED FORUM

Home
Contact Us
Advert With Us

* MYKEMINI * MYKEMINI Lesson 3: Elements and tags
You are now ready to learn the essence of HTML: elements.
Elements give structure to a HTML document and tells the browser how you want your website to be presented. Generally elements consists of a start tag, some content, and an end tag.
"Tags"?
Tags are labels you use to mark up the begining and end of an element.
All tags have the same format: they begin with a less-than sign "<" and end with a greater-than sign ">".
Generally speaking, there are two kinds of tags - opening tags: <html> and closing tags: </html>. The only difference between an opening tag and a closing tag is the forward slash "/". You label content by putting it between an opening tag and a closing tag.
HTML is all about elements. To learn HTML is to learn and use different tags.
Can you show me some examples?
Okay, the element em emphasis text. All text between the opening tag <em> and the closing tag </em> is emphasised in the browser. ("em" is short for "emphasis".)


Example 1:

<em>Emphasised text.</em>
Copy code


Will look like this in the browser:

Result: Emphasised text.

The elements h1 , h2, h3 , h4 , h5 and h6 is used to make headings (h stands for "heading"), where h1 is the first level and normally the largest text, h2 is the second level and normally slightly smaller text, and h6 is the sixth and last in the hierarchy of headings and normally the smallest text.

Example 2:
<h1>This is a heading</h1>
<h2>This is a subheading</h2>

Copy code



Will look like this in the browser:
Result:

This is a heading
This is a subheading


So, I always need an opening tag and a closing tag?
As they say, there's an exception to every rule and in HTML the exception is that there are a few elements which both open and close in the same tag. These so-called empty elements are not connected to a specific passage in the text but rather are isolated labels, for example, a line break which looks like this: <br /> .
Should tags be typed 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 type your tags in an HTML document. A website contains one or more HTML documents. When you surf the Web, you merely open different HTML documents.
If you continue to the next lesson in 10 minutes you will have made your first website.
2016-12-16 23:50 · Reply · (0)

Online: Guests: 1

INSTALOADED | RECENT POSTS



post Created at 2017-01-14
Top Worst Things You Should Stop Doing Online10 years ago, what the internet use to be is not... Read More »
post Created at 2017-01-06
The Number Of Internet Users In Nigeria Reduced To 92.4million - NCC The number of internet users in Nigeria’s... Read More »
post Created at 2016-12-24
Glo Put an End to Blackberry Internet Service (BIS)I'm pretty sure that lots of Android device users... Read More »
post Created at 2016-12-18
Super Mario Run Arrives on iOSNintendo unveiled the iOS version of Super Mario... Read More »
post Created at 2016-10-29
Airtel free 5GB via IMEI  TweakingHi lovely viewer and welcome to this lovely post.... Read More »
post Created at 2016-10-29
MTN 4G LTE Users: You Can Now  Get Free MTN 5GB Data Reward*Even if 75% of cities in Nigeria are yet to... Read More »
post Created at 2016-10-11
Facebook Launches Market Place: Where You Can Buy & Sell Any ItemsFacebook has gone beyond just a social media where... Read More »
post Created at 2016-08-27
Whatsapp Will No Longer Work On These Phones »See List«At the end of 2016, we will no longer support the... Read More »
post Created at 2016-08-27
How to get 2Gb with just #200 on EtisalatThis is aNight Plan– Take Note!! All the Networks... Read More »
post Created at 2016-08-27
Woow..! WhatsApp To Share Users’ Phone Numbers With FacebookThe instant messaging app has updated its privacy... Read More »

Instaloaded Forum Owned By Michael Anthony
United States Mozilla 216.73.216.24 | 1 | 10 | 280 | 316 | 105572 |
© INSTALOADED » FORUM™ 2025