Day 009 is a hefty day with lot more tasks than a general day. Bunch of things were covered today and also got the taste of workload. A challenge was thrown up by the mentor and was accepted respectfully. Nothing can slow us down :p . Mastered quite a few elements and new stuffs today and I am here to share.Here we go then
1.External Style Sheets: You wan't to change the look of an entire website by changing just one file?With an external style sheet you can do it with ease.There are 3 attributes to look out for i.rel ii.type and iii.href. The <LINK> tag is placed in the document HEAD. The optional TYPE attribute is used to specify a media type text/css for a Cascading Style Sheet allowing browsers to ignore style sheet types that they do not support.
2.Overriding Styles: Basically it means if there is a certain style in the main style sheet that you don’t want and you want to override it.
3.Absolute, relative and fixed positioning: With absolute positioning, an element can be placed anywhere on a page.
relative:The elements position is relative to its normal.So, if you put 20px from the "top" then it move 20px from where the element is not from the top of the webpage.
Fixed position is the least used element in HTML.It is fixed to the browser window and even if you scroll down the element will still be visible.
Things that were also covered includes
4.Setting the Max width and height
5.Introductions to forms,How to create forms
6.Creating check boxes and radio button
7.Drop down lists
8.Text areas
9.Password and upload buttons
10.Submitting forms
After all the hard works it is of no use if you can't make it available globally, right? No one is going to access your pc and see your works! So for that you need to publish your site. And you will need a bit help from google to find a web host! Purchase a domain and upload your html files through FTP and boom!!! your very first website (if you haven't make any)
That was pretty much all from HTML and CSS. But practicing should be continued in order to be a pro in HTML and CSS.
Till then stay healthy sweets.