You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Language/HTML/HTML.md
+64-5Lines changed: 64 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -6,11 +6,70 @@ parent: Language
6
6
has_children: false
7
7
---
8
8
9
-
{{ page.title }}
10
-
======================
9
+
# {{ page.title }}
11
10
12
-
{% include under_construction.html %}
11
+
HTML, or Hypertext Markup Language, is the standard markup language for creating web pages and web applications. It provides the structure and layout of a webpage by using a system of tags and attributes to define elements and their relationships.
13
12
14
-
<br>
13
+
---
14
+
15
+
1.**Markup Language:**
16
+
17
+
- HTML is a markup language, meaning it uses tags to define elements within a document.
18
+
- Tags are enclosed in angle brackets (< >) and are used to indicate the beginning and end of elements.
19
+
20
+
2.**Structure:**
21
+
22
+
- HTML documents are structured as a hierarchy of elements, with each element representing a different part of the document.
23
+
- Elements can be nested within other elements, creating a tree-like structure.
24
+
25
+
3.**Content:**
26
+
27
+
- HTML supports various types of content, including text, images, videos, links, forms, and more.
28
+
- Content is placed within the appropriate HTML elements using tags, such as;
29
+
-```<p>``` for paragraphs,
30
+
-```<img>``` for images,
31
+
-```<video>``` for videos,
32
+
-```<a>``` for links,
33
+
-```<form>``` for forms.
34
+
35
+
36
+
4.**Attributes:**
37
+
38
+
- HTML elements can have attributes, which provide additional information about the element.
39
+
- Attributes are added to the opening tag of an element and are used to modify the element's behavior or appearance.
40
+
41
+
---
42
+
43
+
## Examples
44
+
45
+
Here's an example of HTML code that creates a simple webpage with a heading, paragraph, and an image:
46
+
47
+
{: .code title="Example"}
48
+
49
+
```html
50
+
<!DOCTYPE html>
51
+
<html>
52
+
<head>
53
+
<title>Programming Handbook</title>
54
+
</head>
55
+
<body>
56
+
<h1>Welcome to the Programming Handbook</h1>
57
+
58
+
<p>This is a paragraph of text.</p>
59
+
60
+
<imgsrc="example.jpg"alt="An example image" />
61
+
</body>
62
+
</html>
63
+
```
64
+
65
+
---
66
+
67
+
## Conclusion
68
+
69
+
HTML is essential for creating the structure and content of web pages and web applications.
0 commit comments