We have already created My First HTML Website . Here, we will write the CSS code of My First HTML Website. This code can be used inline CSS. It is in inside of the HTML page. we will see the CSS code the HTML page.
Body
Here, we will start <style> tag in inside of the HTML Page. Here, Style of the body of HTML page. It will start from <head> tag. we will set the font-family, margin, padding and background color of the HTML page.
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
}
Header
Next, we will create a CSS code for the header section of the HTML page. Here, we will set the background -color,color, padding ,text-align of the header of the HTML page.color means colour of the text.
header {
background-color: #333;
color: #fff;
padding: 20px;
text-align: center;
}
Menu
Next, we will create the CSS code for the navigation menu like Home, About, Contact. Here, We will set the background color , padding, and text align of the Menu section.
nav {
background-color: #666;
padding: 10px;
text-align: center;
}
Then, We will create the CSS code for anchor link navigation menu. We will set the color, text decoration, margin of the navigation menu. Here, we will eliminate underline of the anchor link. we will use text-decoration:none; and color of the menu text and margin of the menu.
nav a {
color: #fff;
text-decoration: none;
margin: 0 10px;
}
Main
Then, We will create the CSS code for the Main Content of the HTML page.we will set the padding of this page. Padding means creating a space around the main content.
main {
padding: 20px;
}
Footer
Then, We will create the CSS code for the Footer of this Page. we will set the background color, color of the text, width,bottom ,position,text alignment and padding of the footer.
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 10px;
position: fixed;
bottom: 0;
width: 100%;
}
Then , we will close the </style> tag. And then, we will close the</head> tag also. This code can be written in inside of the <head> tag .
Example
See the Pen
My first html website by Meena Subash (@Meena-Subash-the-sasster)
on CodePen.
This is the CSS code of the HTML page. It is useful for building a website at beginner level. If you have any questions, please feel free to ask me. Happy Coding….
Appreciating the time and energy you put into youhr
website and detailed information you present.
It’s good to come across a blog evey onhce in a
whilpe that isn’t the same outdated rehashed information. Wonderful
read! I’vebookmarked your site and I’m including your RSS
feeds to my Google account. https://www.Waste-ndc.pro/community/profile/tressa79906983/
Thank you
Hi there colleagues, iits fantastic article concerning tutoringand
entirely explained, keep it up all the time. https://Glassi-India.net
Thank you
Hello there! This is my 1st comment here so I jut wanted to give a quick shout out and tell you I genuinely enjoy reading your blog posts.
Can you recommendd any other blogs/websites/forums that deal with
thhe same subjects? Thank you! https://www.longisland.com/profile/soyabin3
Thank you so much. I suggested w3c schools website.
Woah! I’m really digging the template/theme off this blog.
It’s simple, yet effective. A lot of times it’s very hard to gget that “perfect balance” between usability and appearance.
I must say you’ve done a fantastic job with this.
In addition, the blog lozds extremely fast for me on Opera.
Outstanding Blog! https://usa.life/read-blog/56902
Thanks a lot
First of all I want to say superb blog! I had a quicck
question in which I’d lie to ask if you do not mind. I was curious to know how you center yourself and clear your thoughts prior to writing.
I have had a toygh time clearing my mind iin gertting my thoughts out.
I truly do enjoy writing however it just seems like thhe first
10 tto 15 minutes are usually wasted simply just trying to figure out how too
begin. Anny ideas or hints? Cheers! https://sashawinner20227.wixsite.com/icelandcasino
Thank you. whatever I want to write the topic, I searched deeply that particular topic and sort it out then write it. I can’t write the article in one day. I posted the article weekly once. so I planned for it. You try it slowly then you will reach it one day. All the best.
I’m gone to convey myy little brother, tht hhe should also pay a visit this webpage on regular basis
to take updated from newest gossip. https://www.pearltrees.com/alexx22x/item602704250
Thank you
An outstanding share! I’ve just forwarded this onto a colleague
who has been doing a little homework on this.
And he in fact bought me lunch ddue to the fact that I found itt for
him… lol. So allow me to reword this…. Thanks for the meal!!
But yeah, thanx for spending the time to talk about this issue here on your internet site. https://iclcasinos.mystrikingly.com/
Thank you
An interesting discussion is worth comment. I do think that you should wrote more about
this issue, it may not be a taboo subject but typically
people do not talk about such subjects. To the next! All the best!! https://caramellaapp.com/milanmu1/VonBJDJL2/iceland-casino
Thank you
Helklo my loved one! I wish to say that this article is amazing, great written and come with approximately alll significant infos.
I would like tto peer extra posts like this . https://iclcasinos.mystrikingly.com/
Thank you
Heya i’m for the first time here. I found this bowrd
and I find It really useful & it helped me out much. I hope to givfe something back
and aid others like you aided me. https://usa.life/read-blog/56903
Whoa! This blog looks just like my oold one! It’s onn a totally different subject but it has pretty much the same page layout and design. Wonderful choice of colors! https://usa.life/read-blog/56906
Thank you
I savor, result inn I discovered exactly what I used to bbe lookinng for.
You have ended my 4 day lengthy hunt! God Bless you
man. Have a great day. Bye https://telegra.ph/How-to-Choose-the-Best-Casino-06-11-2
Thank you
Wonderful goods from you, man. I have understand your stuff previous to and you are just too excellent.
I actually like what you have acquired here, certainly like what you are saying andd the
way in which you say it. You make it entertaining and
you still take care of to keep it wise. I cant waitt to read
much more from you. This is actually a terrific site. https://pixabay.com/users/aviatorgame-43890672/
Thank you
I’ve been surfing online more han three hours today, yet I never found any attention-grabbing article like yours.
It’s pretty worth enough for me. In my opinion, if
all website owners and bloggers made jus right content
material as you probably did, the net might be a lot more useful than ever
before. https://www.flickr.com/people/200292951@N07/
Thank you
Heyy there I am so grateful I found your web site, I really found you by accident, while I was searching oon Askjeeve for something else, Regardless I am here now and would just like to say kudos for a remarkable post and
a all round exciting blog (I also love the theme/design),I
don’t have time to look over it all at the moment but I have
bookmarked it and also added your RSS feeds, so when I have time I will be back to read a
great deal more, Please do keep up the fantastic work. http://forum.altaycoins.com/viewtopic.php?id=840180
Thanks a lot
Pretty portion of content. I simply stumbled upo your webite and in accession capital to assert that I get in fact loved
account your weblog posts. Anyway I will be subscribing on your augment and evn I achievement yoou geet admission to consistently
quickly. https://affiliates.trustgdpa.com/what-you-can-do-about-essay-writing-starting-in-the-next-15-minutes/
Thank you
I am actually thankful to the holder of this web page who has shared this enormous article at at this place. https://www.pitstopodium.com/f1-news/here-is-why-1-million-prospects-in-the-us-are-essay-writing/
Thank you
Good post. I earn something totally new and challenging oon sites I stjmbleupon everyday.
It will always be helpful to read through articles from other writers and practice a little something from other web
sites. https://www.alonegocio.net.br/author/stephaineal/
Thanks a lot
Hi there to all,the contents existing at this web page aree really amazing for people experience, well,
keep up the nicxe work fellows. https://njspmaca.in/2024/06/20/shortcuts-to-essay-writing-that-only-a-few-know-about/
Thank you
Goood day! This iss my 1st comment heere so I just anted to give a quick shout
outt and say I really enjoy reading your articles.
Can you suggest any other blogs/websites/forums that goo over the same topics?
Thanks a lot! https://njspmaca.in/2024/06/20/three-tips-with-essay-writing/
Thank you. I suggested w3c schools
Heya i’m for the primary time here. I found this board and I to find It
truly useful & it helped me out a lot. I am hoping to offer one thing back
and help others such as you aided me. https://ladder2leader.com/the-most-overlooked-fact-about-essay-writing-revealed/
Thank you
Woah! I’m really loving the template/theme of this website.
It’s simple, yyet effective. A lot oof times it’s very difficult to get that “perfect balance”
btween superb usability and visual appearance. I must say that you’ve done a superb job
with this. Additionally, the blog loads very quick ffor me on Firefox.
Outstanding Blog! https://www.alonegocio.net.br/author/glenda78x15/
Thank you so much.
This website was… how do you say it? Relevant!! Finaply I’ve found something that helped me.
Thanjk you! https://telegra.ph/The-Impact-of-Gambling-on-Health-How-to-Avoid-Negative-Consequences-11-19
Thank you
Generally I don’t read post on blogs, but I would like to say that thi write-up very pressured me to
take a look at and ddo it! Your writing style has been amazed me.
Thank you, very great post. https://www.halaltrip.com/user/profile/154751/aviatorbets/
Thank you
I couldn’t refrin from commenting. Perfectly
written! https://wallhaven.cc/user/GeorgDerek
Thank you
Thank you so much 🙏🙏🙏
My brother recommended I might like this blog. He was totally right.
This post actually made my day. You cann’t imagine simply how
much time I had spent for this information! Thanks! https://public.tableau.com/app/profile/aviator.aviator/vizzes
I wwas pretty pleased to disacover this website. I waant to too thank you for ones
time for this fantastic read!! I definitely appreciated every bit of it and i also hae you book-marked too check out
new stuff in your web site. https://vocal.media/authors/madeleinefinch
Today, I went to the beac front with my children. I flund a
sea shel and gave it to my 4 year old daughter aand said “You can hear the ocean if you put this to your ear.” Shhe placed the shell to her
ear and screamed. There was a hermit crab inside and it pinched her ear.
She never wants tto goo back! LoL I know this is completely off topic but I had to
tell someone! https://www.horseracingnation.com/user/Aviatorapp
Hello,this weekkend is good in favor of me, since this moment i aam reaing this
great educational paragraph ere aat my residence. https://enfogentraining.com/blog/index.php?entryid=67306
Hello there, I discovcered your blog viaa Google whilst looking for a reloated subject,
your web site came up, it appears good. I have bookmarked it in my google bookmarks.
Hi there, simply changed into aware of your blog vvia Google, and located that it is truly informative.
I’m gonna watch out forr brussels. I’ll be grateful
should you proceed this in future. A lot of folk can be
benefited from yoour writing. Cheers! https://educarconamor.com/community/profile/lemuelfuhrmann9/
I’m not sure thhe place you’re getting your info, but good
topic. I needs to spend a while learning more or working out more.
Thanks for fantastic information I used to be on the lookout for this
info for my mission. https://atarnotes.com/contributor/@LindaMartin
My spouse and I stmbled over here coming from a different
page and thought I might as well check things out.
Ilike what I see so noow i’m following you. Look forward to finding
out about your web page again. https://promed-sd.com/blog/index.php?entryid=168401
Thanks for the marvelous posting! I quite enjoyed reading it,
you can bbe a great author.I will make certain to bookmark your blog and will come bacdk from
now on. I want to encourage you to continue your great writing, have a nice weekend! https://forum.pgbu.ir/viewtopic.php?id=669
Very nice post. I simply stumbled upon your weblog and wished to mention that I have truly enjoyed
surfing around your weblog posts. After all I wil be shbscribing on your fee and I’m hoping
you writre again soon! https://forum.pgbu.ir/viewtopic.php?id=659
Thanks for ones marvelous posting! I truly enjoyed reading it, you can be a great author.I will ensure thjat
I bookmark your blog and will eventually ome bck someday.
I want to encourage you to definitely continue your great posts,
have a nice morning! https://digital-techss.blogspot.com/2024/07/online-casinos-in-iceland-laws-and.html
Verry great post. I simply stumbled upon your blog aand wished to mention that
I’ve truly enjoyed browsing your weblog posts. After all
I will be subscribing on your feed and I’m hoping you write again very soon! https://live-icecasino.mystrikingly.com/
Thanks for ones arvelous posting! I truly enjoyed reading
it, you can be a great author.I will ensure tjat I bookmark your
blog and will evcentually come back someday. I want to encourage you to definitely continue
your great posts, have a nice morning! https://digital-techss.blogspot.com/2024/07/online-casinos-in-iceland-laws-and.html
Hi there! Thhis blog post couldn’t bee written any better!
Going through this article reminds me of my previous
roommate! He always kept talking about this.
I’ll forward this post to him. Pretty sure he’s going to have
a great read. Many thanks for sharing! https://ice-gambling.mystrikingly.com/
Thank you for every otther magnificent article. The place else may just anyone get thbat kind of into in such
a perfect alproach of writing? I’ve a presentation subsequent week, and
I am at the search forr such info. https://scrapbox.io/goiceland/Online_Casino_Bonuses_and_Promotions_for_Iceland_Players
Hi there, I discovered your web site by means of Google even as
lookking for a related matter, your web site got here up, it appears good.
I’ve bookmarked it in my google bookmarks.
Hello there, simply was aware of your blog thru Google, and located
that it’s really informative. I’m going tto watch out for brussels.
I wil appreciate should you proceed this in future.
Numerous other folks will probably be benefited from your writing.
Cheers! https://www.pearltrees.com/alexx22x/item622632700