2-Front End Development (HTML)
2-Front End Development (HTML)
(HTML)
<h1>This is a Heading</h1>
<p>This is a 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:
HTML Headings
HTML headings are defined with the <h1> to <h6> tags.
Example
<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>
HTML Paragraphs & Links
Paragraphs are defined with the <p> tag:
Example
<<p>This is a paragraph.</p>
Example
<img src=“desired.jpg" alt=“desired-techs.com“ width="104" height="142">
HTML Structure
HTML structure make using tables tags.