You will learn them in the following sections.
HTML Documents
All HTML archives must begin with a sort presentation: <!DOCTYPE html>.The HTML archive itself starts with <html> and closures with </html>.
The noticeable piece of the HTML report is in the middle of <body> and </body>.
Example
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
<html>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
HTML Headings
HTML headings are characterized with the <h1> to <h6> labels:
Example
<h1>This is a heading</h1>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
<h2>This is a heading</h2>
<h3>This is a heading</h3>
HTML Paragraph
HTML passages are characterized with the <p> tag:
Example
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<p>This is another paragraph.</p>
HTML Links
HTML connections are characterized with the <a> tag:
Example
<a href="http://www.query2learn.blogspot.com">This is a link</a>
The connection location is determined in the href property.
Credits are utilized to give extra data about HTML components.
HTML Images
HTML pictures are characterized with the <img> tag.
The source document (src), elective content (alt), and size (width and stature) are given as traits:
Example
<img src="q2l.jpg" alt="query2learn.blogspot.com" width="104" height="142">
You will take in more about properties in a later part.
No comments:
Post a Comment