i started to make a website. So i started with the nav bar.I added div block with “Home” written in it but the word Home was comming out of the block.
((((((((
My Webpage
<body style="background-color:#C6E2FF" />
<div style="height:60px; width:1200px; background-color:#20b2aa;
margin:auto; border-radius:100px;">
Home
))))))))))

i want to add Home to left side but it should be inside the block what i should do???
give me your full html code
@vaibhav2286
I have just started making my website so i thought to ad the nav bar first and add some text with links but the text(Home) is not fitting inside its going outside. this is my full code till now.
where
<html>
<head>
<title>
Headings & Paragraphs
</title>
</head>
<body>
<h1>my webpage</h1>
<p> web design content</p>
<p>so go on</p>
</body>
</html>
@vaibhav2286
sorry! problem in pasting i will paste it again
((((((((((
My Webpage
<body style="background-color:#C6E2FF" />
<div style="height:60px; width:1200px; background-color:#20b2aa;
margin:auto; border-radius:100px;">
Home
))))))))))
it is not copying
i will take a snap shot
yes i know css but i dont know how to combine css and html in notepad
ok i m telling you how to combine css and html
at first write css in notepad then save .css like you do .html
then save .css file in desktop
then link it like:
> <link type="text/css" rel="stylesheet" href=" location.css"/>
how to find location
right click on css file then click propertise the see the location
ok fine but cant i do it using html only
yes, you can.ok i m telling you
@vaibhav2286
reduce the div width
and i cant see you p tag fully
@vaibhav2286
but i want to keep that much width.i just want to change the position of Home to left where it should come inside the div block
then write inside div tag and you can also change the position
like
>
i have already written my
tag inside my div tag