- 1
Pls guys help me out in my quest to learn html
<html> <head>Saan<title>Economics</title></head> If a firm has patent right for a number of <b>Years</b>, at least within that<br></br> Time,competion is <i>legally</i> <del>absent</del> and so monopoly power is Established. <p><Bold>BRANDING OF GOODS</Bold> Brand names like <b>Fanta, Guinness, Philips, Sony </b> etc., have created monopoly power for some firms.</p></body> </html>
6 Antworten
+ 9
Wht help do you want?
Be specific
+ 3
What's the question?
+ 3
I think you forget to start body tag after </head>.
+ 2
You should see it in a web browser and you can feel good about some of your work showing there.
There are a lot of improvements to make. Some of these were mentioned by other answers but I'll try to be comprehensive:
- Missing <body> start tag.
- "Saan" can not be directly in the head. You probably want it part of your title.
- Bold tag doesn't exist. You mean "b" like <b>.
- <br> is ok but </br> is weird. br is an empty tag name meaning it is part of a small groups of tags that end themselves. meta, link, img and hr are a couple more empty tags. If you want 2 line break elements, write them as <br><br> and if you want one, just use a single <br>.
- Indentation should get fixed so it is easier to see correct tag order and start/end tag balancing.
- Use an HTML validator to be sure your HTML is valid. One is at: https://validator.w3.org/nu/#textarea where you copy/paste your HTML and hit "Check".
Here is what I get from applying all improvements I could think of:
<!DOCTYPE html>
<html lang="en">
<head>
<title>Saan Economics</title>
</head>
<body>
<p>
If a firm has patent right for a number of <b>Years</b>, at least within that<br>
Time,competion is <i>legally</i> <del>absent</del>
and so monopoly power is
Established.
</p>
<p>
<b>BRANDING OF GOODS</b> Brand names like
<b>Fanta, Guinness, Philips, Sony </b> etc.,
have created monopoly power for some firms.
</p>
</body>
</html>
+ 1
If you want tips, first of all your formatting is quite bad. Add some indentations. Otherwise, for beginning in HTML. Not half bad.
+ 1
From where do you get this <Bold> tag I have never seen it before ???
Is it supporting in html5 I don't think so.
Firstly clear it or clear it.
we use b and strong tag to make font bold