Skip to content

Commit 893a25e

Browse files
authored
Added and Updated HTML.md (#88)
* Update HTML.md * Update HTML.md * Update HTML.md * Update HTML.md
1 parent 35f4333 commit 893a25e

File tree

1 file changed

+64
-5
lines changed

1 file changed

+64
-5
lines changed

docs/Language/HTML/HTML.md

Lines changed: 64 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,70 @@ parent: Language
66
has_children: false
77
---
88

9-
{{ page.title }}
10-
======================
9+
# {{ page.title }}
1110

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.
1312

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+
<img src="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.
70+
71+
---
72+
73+
#### Author: Kei
1574

16-
<br>
75+
#### Published: 22/03/2023

0 commit comments

Comments
 (0)