Basics of HTML


HTML Basic Examples 




Basics of HTML,html basics example
Basics of HTML

Try not to stress if these illustrations utilize labels you have not scholarly. 

You will find out about them in the following parts. 

HTML Documents 


All HTML records must begin with an archive compose declaration: <!DOCTYPE html>. 

The HTML archive itself starts with <html> and closes with </html>. 

The noticeable piece of the HTML report is between <body> and </body>. 

Case 

<!DOCTYPE html> 

<html> 

<body> 

<h1>My First Heading</h1> 

<p>My first paragraph.</p> 

</body> 

</html> 

Attempt it Yourself » 
Read more:-


HTML Heading


HTML headings are characterized with the <h1> to <h6> tags. 

<h1> defines the most critical heading. <h6> defines the slightest imperative heading: 

Illustration 

<h1>This is heading 1</h1> 

<h2>This is heading 2</h2> 

<h3>This is heading 3</h3> 

Attempt it Yourself » 

HTML Paragraphs 


HTML passages are characterized with the <p> tag: 

Illustration 

<p>This is a paragraph.</p> 

<p>This is another paragraph.</p> 

Attempt it Yourself » 

HTML Links 


HTML joins are characterized with the <a> tag: 

Illustration 

<ahref="https://www.learnfree.ooo">This is a link</a> 

Attempt it Yourself » 

The connection's goal is indicated in the href attribute. 

Ascribes are utilized to give extra data about HTML components. 

You will take in more about properties in a later part. 

HTML Images 


HTML pictures are characterized with the <img> tag. 

The source record (src), elective content (alt), width, and height are gave as qualities: 

Illustration 

<imgsrc="Learn free.jpg"alt="learn free.ooo"width="104"height="142"> 

Attempt it Yourself » 

HTML Buttons 


HTML catches are characterized with the <button> tag: 

Illustration 

<button>Click me</button> 

Attempt it Yourself » 

HTML Lists 


HTML records are characterized with the <ul>(unordered/projectile rundown) or the <ol>(ordered/numbered list) tag, took after by <li> tags (list things): 

Illustration 

<ul> 

<li>Coffee</li> 

<li>Tea</li> 

<li>Milk</li> 

</ul> 

Attempt it Yourself »

Post a Comment

4 Comments