HTML TUTORIAL

 


Course Content

Learn HTML In One Video

 

 

Kickstart your html by learning it in hindi

Hey whats up! you wanna know about HTML 5 right?

Here you go !

HTML stands for Hyper Text Markup Language 

~ A language used for describing Web pages using ordinary text.

~ It forms the basic Structure of any website 

 

HTML Files 

~ Every Web page is a Html file. Each Html file is just a plain text file with ".html" file extension 

 

HTML Tags 

~ Every Html file is made up of numerous HTML Tags.

~ Html tags are hidden keywords within a Web page that defines format of that particular Web Browser.

~ Most tags have two parts namely 'Closing Tag' and 'Opening Tag'. (Note that closing tag has the same text as the opening tag but has additional forward slash / character. 

 

Essential Html Tags :-

1. <html>  </html>

 All tags fall in between the html tags. It defines the document as Web page. 

2. <head>  </head> 

 The header contains information like title of the document that won't appear on actual page. 

3. <title>  </title> 

 The title defines the title that will appear in the title bar of the Web browser. 

4. <body>  </body> 

The body tags contain all the visible content of the page including all images, links, etc. 

 

Basic Tags- 

1. Headings and Subheadings 

<h1> A heading </h1>

There are 6 levels of headings available from smallest to largest. ( h1 to h6) 

2. Paragraphs 

<p> Some text  </p> 

3. Links 

<a href = "URL" </a> 

4. Image 

<img src = "photo.jpg"> 

 

 Tag Attributes 

Attributes helps one to customise a tag and are defined within the opening tag. For Example - <ol type = "a"> 

ol stands for Ordered list and ul for Unordered List 

~ Attributes are often assigned a value using the equal sign, such as width = 65% 

~ Break Tag 

<br> Tag is used for styling. In most cases it's preferred to use CSS and Java for Styling. 

~ Comment Tag 

It's not visible on the actual page but remains saved in the language itself. 

<!--- this is a comment --->

~ Form tag- It is used for adding a special Form to the Web page.

<form>

Enter your name : <input type = 'text'/> 

<form>  

Similarly there are also other tags like <table> tags used to form a table with table row and table headings. Caption tags, Div Tags, Meta tags, etc.

We can also link 'heads tag' to external CSS easily. You can prefer other 'Sublime Text' or 'Atom Editor' to make Coding in Html a fun rather than using Notepad for Coding.

 

 

 

File index.html as described in the video


<!DOCTYPE html>
<html>
<title>This is my title</title>
<!-- this is a comment -->
<head>

</head>
<body>

<div id="mydiv" class="redbox">
This is my name ∫ f(x) dx
</div>
<h1>This is my heading 1 using h1 tag</h1>
<p>Computer programming is the process of designing </p>
<h2>This is my heading 2 using h2 tag</h2>
<h3>This is my heading 3 using h3 tag</h3>
<h4>This is my heading 4 using h4 tag</h4>
<h5>This is my heading 5 using h5 tag</h5>
<h6>This is my heading 6 <br>using h6 tag</h6>

<ol type="i">
<li><a href="https://www.google.com">Go to google</a></li>
<li>item2</li>
<li>item3</li>
<li>item4</li>
</ol>

<img src="https://upload.wikimedia.org/wikipedia/commons/4/46/Prog_one.png"/>
<button> Click me bro </button>
<ul>
<li>item1</li>
<li>item2</li>
<li>item3</li>
<li>item4</li>
</ul>

<form>
Enter your name: <input type="text"/>
Enter your Email: <input type="email"/>
<button type="submit">submit form</button>
</form>
<br/>
<table style="width:100%;border:1px solid black">
<caption> Code With Harry</caption>
<tr>
<th>Name</th>
<th>Role</th>
<th>Company</th>
</tr>

<tr>
<th>Harry</th>
<th>Developer</th>
<th>YouTube</th>
</tr>

<th>Naman</th>
<th>Developer</th>
<th>YouTube</th>
</tr>

<th>Rohan Das</th>
<th>CEO</th>
<th>YouTube</th>
</tr>

<th>Skill F</th>
<th>CTO</th>
<th>YouTube</th>
</tr>
</table>


</body>
</html>

Comments

Popular posts from this blog

java chapter11 practice question on abstruct class and interfaces

DAY 12 -AZURE DP900(Microsoft Azure Data Fundamentals: Explore non-relational data in Azure)

java exercise4