So the long form of HTML is a hypertext markup language. It's not a programming language.
It's a markup language for creating webpages and HTML documents.
It's a building block of a webpage.
Tag Syntax<tagname>content</tagname>
these are building blocks of the HTML page.
example;
<p></p>
the tags are usually in pairs (opening and closing tags)
The closing tag is usually with a forward slash after the angle opening bracket.
but some are self-closing tags, they usually do not have any content with them eg;
<br/> or <br> line break,
The!DOCTYPE
tells the browser what type of HTML the document is actually written in.
the inline tags and block level element tags
Inline elements;
they do not start on a newline .
they only take necessar width in the line level . examples can be ,
<span></span>,<img></img>,<a></a>
Block elements;
they start on a newline,
and they take a full width available.
example;
<div></div>,<h1-h6></h1-/h6>
Tag attributes<tagname atributename="atributevalue">content</tagname>
Attributes provide info about an element.
All tags can have an attribute.
always placed within the start tag.
list tags
for unordered list
<ul></ul> this list in a document will appear with bullets
ordered list
<ol></ol> this list will have number.
Table tags
<table></table><th></th> for table head
<tr></tr>for table rows
<td><td> for adding data in the table.
<tb></tb> table body
HTML
So the long form of HTML is a hypertext markup language. It's not a programming language. It's a markup language for creating webpages and HTML documents. It's a building block of a webpage. Tag Syntax
<tagname>content</tagname>
these are building blocks of the HTML page. example;<p></p>
<br/>
or<br>
line break,HTML page structure
<!DOCTYPEhtml>
<html>
<head>
<title>
page</title>
<body>
<h1,h2....h6>
heading</h1,/h2..../h6>
<p>
paragraph</p>
</body>
</html>
The!DOCTYPE tells the browser what type of HTML the document is actually written in.
the inline tags and block level element tags
<span></span>,<img></img>,<a></a>
<div></div>,<h1-h6></h1-/h6>
Tag attributes
<tagname atributename="atributevalue">content</tagname>
list tags
for unordered list
<ul></ul>
this list in a document will appear with bulletsordered list
<ol></ol>
this list will have number.Table tags
<table></table>
<th></th>
for table head<tr></tr>for
table rows<td><td>
for adding data in the table.<tb></tb>
table bodyForm tags
<form action="" method"POST/GET"></form>
<label></label>
so that's some of the summaries on HTML.