what is the syntax of html
Answers
Answer:
Html
Next article
Previous article
HTML stands for HyperText Markup Language:
HyperText means that it uses the HTTP part of the Internet
Markup means the code you write is annotated with keywords
Language means it can be read by both a human and a computer
Like any language, HTML comes with a set of rules. These rules are relatively simple. It comes down to defining boundaries, to know where something starts and where something ends.
What you see in angle brackets < and > are HTML tags. They define where something starts and where it ends.
Each of them carry a specific meaning. In this case, p stands for paragraph.
They usually go in pairs:
the opening tag <p> defines the start of the paragraph
the closing tag </p> defines its end
The only difference between an opening and closing tag is the slash / that precedes the name of the tag.
When you combine an opening tag, a closing tag, and everything in between, you obtain an HTML element. The whole line is an HTML element that uses the HTML tags <p> and </p>.
Answer:
Syntax used to explain the general structure of html document:
<!DOCTYPE html>
<html>
</html>