Inline & Block Elements in HTML | Sigma Web Development Course - Tutorial #8

preview_player
Показать описание
➡️ We are working on the Subtitles and will upload them soon!

TimeStamps ⌚
00:00 Introduction
00:22 Sigma Web Development Intro 🗿
01:10 Inline Elements Vs Block Elements
06:11 Comprehensive list for Inline and Block Elements
07:34 Quick Quiz 📝
08:21 Conclusion
10:28 Sigma Outro 🗿

python, C, C++, Java, JavaScript and Other Cheatsheets [++]:

►Learn in One Video[++]:

►Complete course [playlist]:

Follow Me On Social Media
Comment "#HarryBhai" if you read this 😉😉
Рекомендации по теме
Комментарии
Автор

I hope you're enjoying this course Let me know how this course is going so far.
Many people asked if this course is job ready - Yes this course is Job Ready!
Source code is updated on Github. English Subtitles are added to all the videos #SigmaBatchOP

CodeWithHarry
Автор

A real hero teacher for those who can't afford paid courses and also I think this free course is better than paid courses because of Harry bhai's Effort.

AwaisMughalFans
Автор

<body>
<form action="post">
<div>
<label for="name">Name</label>
<input type="text" id="name" placeholder="Input Your Name" required>
</div>
<div>
<label for="city">City</label>
<input type="text" id="city" placeholder="Input Your City" required>
</div>
<div>
<label
<input type="text" id="pincode" placeholder="Input Your Pincode" required>
</div>
</form>

</body>

SIGMA BATCH OPPP!!!😍❤

KRISHNAGAMERZ
Автор

The only series where I NEVER skip the intro! Every single minute detail and part about this course is commendable! Harry you're amazing 😇

TvishaThakur-mk
Автор

Very nice course 🔥 Love it ❤
Quick Quiz :
Here I am writing all the elements inside a div since div is a block element thus to seperate the form elements vertically.
<form action="NULL">
<div>
<div>
<label for="userName">Enter your name:</label>
</div>
<input type="text" id="userName" />
</div>
<div>
<div>
<label for="userCity">City</label>
</div>
<input type="text" id="userCity" />
</div>
<div>
<div>
<label
</div>
<input type="text" id="userPinCode" />
</div>
<div>
<input type="submit" />
<input type="reset" />
</div>
</form>

And yes I am already a ninja 🥷🔥

chiteez_____
Автор

Harry Bhai ke aage koi bol sakta hai kya OP

official_tufel
Автор

Answer to the quiz - We can just wrap our input tags in "div" tags to make it a block element and thus we won't require a <br> tag

sanjitvyas
Автор

<div> is a block-level element and takes up the full width, stacking the inputs below each other.



<form>
<div>
<label for="name">Name:</label>
<input type="text" id="name" name="name">
</div>
<div>
<label for="city">City:</label>
<input type="text" id="city" name="city">
</div>
<div>
<label
<input type="text" id="pincode" name="pincode">
</div>
</form>

Namra-mw
Автор

7:35 the answer is we use a block element <div> for the new line

AbhijeetbhatYT
Автор

JazakAllah Harry bhai a The motivation that you give at the end really restores our faith in hardwork...😍😍😍

muhammadhassan
Автор

inside body tag
<form action="post">
<div>
<label for="username">your name</label>
<input type="text" id="username" placeholder="Enter your name">
</div>
<div>
<label for="cityname">city</label>
<input type="text" id="cityname" placeholder="enter city name">
</div>
<div>
<label
<input type="number" id="pincode" placeholder="pincode">
</div>
</form>

ashishraj-wgoz
Автор

<body>
<h1>Form to applay web - development</h1>
<form action="post">

<div>
<label for="Name">Enter your Name</label>
<input type="text" id="Name"
placeholder="Enter your Name">
</div>

<span>
<label for="City">Enter your City </label>
<input type="text" id="City"
placeholder="Enter your City">
</span>
<p>
<label for="Pincode">Enter your Pincode </label>
<input type="text" id="Pincode"
placeholder="Enter your Pincode">
</p>
</body>
</html>
Thank you so much🥰

Islamicworld
Автор

harry not only teach you, but also motivate time to time, jst like perfect teacher

heyy_yash
Автор

Quiz Answer
We will use <div> that is block element to make it vertically alligned.

AsmaMunaf-wf
Автор

I will use <div> that is block element to make it vertically alligned.

sahilatram
Автор

mai already ninja hu and wo b aapki he maherbani hai thanx for css course waha se bahot kuch sikhi hu actually mai is computer field me jo b sikhi sab aapki he videos dekh kar sikhi hu mai non technecal student thi maine masters maths me ki hu and now i am alhamdulillah in technical field and today i am doing your cource free thank you soooo much for this course

samreendeshmukh
Автор

Quick Quiz
We can use <p> tag and <div> tag

siddharthsalve
Автор

<form action="">
<div><input type="text" placeholder="Enter your Name"></div>
<div><input type="text" placeholder="Enter your City"></div>
<div><input type="text" placeholder="Enter your Pincode"></div>
</form>

Used inline element input inside block element div to align all the inputs one by one.

pulkitpareek
Автор

To vertically align form elements without using CSS or <br> tags, we have wrap them inside <div> tags

p_mat
Автор

Done Quiz 👍
Used <div>
Form <form>
Order listl<ol>
And li <li> as block elments
And
<Input>
<Label>
as inline elements

Muhammad_Rabi