HTML - Introduction
HTML stands for HyperText Markup Language, and is the standard markup language for creating web pages. HTML is a structured markup language. The latest HTML standard is HTML5 (H5).
HTML, CSS, and JavaScript are the programming languages required to learn for becoming web developers.
HTML structure
A HTML document is make up of elements. An element will have a start tag and closing tag.
HTML is a structured markup language. HTML standard is managed by the World wide Web Consortium (W3C). The latest HTML standard is HTML5.
Example of an basic HTML element definition, <tag attribute="value" ...>..content</tag>
Standard HTML structure
HTML, being a structured markup language means you have to follow HTML structure standard.
A valid HTML strucure is <html><head></head><body></body></html><html> must contain <head> and <body>
Example of an invalid HTML structure, <head></head><body><html></html></body>
Standard HTML structure example,
<!DOCTYPE html>
<html>
<head>
<title>Your html page</title>
</head>
<body>
<h1>Welcome to LearnCodeNow</h1>
<p>Hello world!</p>
</body>
</html>Code Result
Code Explain
- Define the HTML document version.
<!DOCTYPE html> - Define the HTML structure.
<html></html> - Define the HTML head section.
<head></head> - Web page title, define in HTML head section.
<title></title> - Define the HTML body section.
<body></body> - Header text, define in HTML body section.
<h1></h1> - Paragraph text, define in HTML body section.
<p></p>




