⚛HTML Links
HTML links are defined with the <a> tag:⬇️
HTML links are defined with the <a> tag:⬇️
1️⃣-View HTML Source Code:
Right-click in an HTML page and select "View Page Source" (in Chrome) or "View Source" (in Edge), or similar in other browsers. This will open a window containing the HTML source code of the page.
Right-click in an HTML page and select "View Page Source" (in Chrome) or "View Source" (in Edge), or similar in other browsers. This will open a window containing the HTML source code of the page.
HTML Documents
⚛All HTML documents must start with a document type declaration: <!DOCTYPE html>.
⚛The HTML document itself begins with <html> and ends with </html>.
⚛The visible part of the HTML document is between <body> and </body>.
⚛All HTML documents must start with a document type declaration: <!DOCTYPE html>.
⚛The HTML document itself begins with <html> and ends with </html>.
⚛The visible part of the HTML document is between <body> and </body>.
⚠️-How to View HTML Source
Have you ever seen a Web page and wondered "Hey! How did they do that?"⬇️
Have you ever seen a Web page and wondered "Hey! How did they do that?"⬇️
⚠️-Example ⬇️
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
The <!DOCTYPE> Declaration
⚛The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly.
⚛It must only appear once, at the top of the page (before any HTML tags).
The <!DOCTYPE> declaration is not case sensitive.
The <!DOCTYPE> declaration for HTML5 is: ⬇️
⚛The <!DOCTYPE> declaration represents the document type, and helps browsers to display web pages correctly.
⚛It must only appear once, at the top of the page (before any HTML tags).
The <!DOCTYPE> declaration is not case sensitive.
The <!DOCTYPE> declaration for HTML5 is: ⬇️
👍1
HTML Headings
⚛HTML headings are defined with the <h1> to <h6> tags.
⚛<h1> defines the most important heading.
⚛<h6> defines the least important heading:
⚛HTML headings are defined with the <h1> to <h6> tags.
⚛<h1> defines the most important heading.
⚛<h6> defines the least important heading:
❤1
<!DOCTYPE html>
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
...................................Result⬇️
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
...................................Result⬇️
❤2
⚛HTML Paragraphs
HTML paragraphs are defined with the <p> tag:⬇️
HTML paragraphs are defined with the <p> tag:⬇️
❤2
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>
.......................................Result⬇️
<html>
<body>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>
.......................................Result⬇️
❤2👍1
This is a paragraph.
This is another paragraph.
This is another paragraph.
❤3
Media is too big
VIEW IN TELEGRAM
⚛Video<1>: HTML
⚛Subject: Basics of HTML Tags, Attributes, and Elements.
⚛Source: Udemy
⚛Quality: High
🕛Duration: 4:05
⚛Subject: Basics of HTML Tags, Attributes, and Elements.
⚛Source: Udemy
⚛Quality: High
🕛Duration: 4:05
👍5❤3