html language code example
Example 1: is html a programming language
HTML is a markup language. We don't say HTML as a programming language.
Example 2: html lang
<!DOCTYPE html>
<html lang="en"> <!-- sets language to english -->
<!-- <head>, <body>, etc. contents-->
</html>
Example 3: html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML basics</title>
</head>
<body>
</body>
</html>
Example 4: html a language
don't even think about it BRUH
Example 5: what is html
HYPER-TEXT MARKUP LANGUAGE
Is the standardised markup language (a subset of XML) that
defines the layout of a webpage.
HTML has no functional properties, other languages such as
JavaScript must be used in order to manipulate the layout
and perform HTTP requests.
CSS (Cascading Style Sheets) is commonly used to style the
elements in the layout.
Example 6: html with lang
<html lang="en">
<body>
<h1>Detects you are using english</h1>
</body>
</html>