Web Notes
Web Notes
<head>
<title>Jaybe designers</title>
</head>
<body>
<p>Welcome to Jaybe Designers,Your home of fashion</p>
</body>
</html>
What is HTML?
HEXADECIMAL COLORS
A2B3C5……C5B3F2……B6C2F2
<bgcolor=”red”>
<bgcolor=#c5b2a5>
</body>
</html>
Example Explained
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>.
Example
<!DOCTYPE html>
<html>
<body>
</body>
</html>
Try it Yourself »
The <!DOCTYPE> Declaration
It must only appear once, at the top of the page (before any HTML tags).
<!DOCTYPE html>
HTML Headings
<h1> defines the most important heading. <h6> defines the least important
heading:
Example
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
Try it Yourself »
HTML Paragraphs
Example
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
Empty HTML Elements
Example
<p>This is a <br> paragraph with a line break.</p>
HTML Links
Example
<a href="https://www.w3schools.com">This is a link</a>
HTML Images
The source file (src), alternative text (alt), width, and height are provided as
attributes:
Example
<img src="images/1.jpg" width="104" height="142">