+ 5
Why is every HTML tag use < > and <\ >
7 ответов
+ 25
Because the browser needs to know when it must start ou stop executing a code. For example:
Pretend you want to write the following sencence: "THIS is a line of text". If you write the code like this:
<big>This</big> is a line of text
The sentence will be like: "THIS is a line of text". But if you write the code like:
<big>This is a line of text.
The text will be like this: "THIS IS A LINE OF TEXT", and that's not what you want to do.
So, if you define a start of a tag to be executed without defining the finish tag, the browser won't stop executing the comand; in this example, instead of making a single word get big, if will make the whole text get big.
I hope this answer helps you.
+ 4
think of it as a green light and a red stop sign, if we didn't include a stop point it would go on forever! and never know when to stop
+ 3
Hey First Point your question is wrong
NOT every tag has<> and<\> because mist html tags are container tags(ones with<>and<\>) and they are even empty tags (ones that don't have<\> they have \>instead) example
containers:
,<p>hi this us container tag<\>
empty
<IMAGE src="fungus.jpg"/>
and container tags are used to contain content and exchage data
+ 1
Because it works and is easy to understand by people and machines.
0
It is more organized
0
you start a text <> and you end a text</>
- 6
because 😏 your name is "Will Bernau".. 😜