Hey there.........Welcome back.....
Today we will try to make a useful static website....OK before I do that let me tell you that websites are basically of two types:-
1. Static. - Content of the website doesn't change or respond to user.(Pure HTML and images).
2. Dynamic.- Content of the website changes and responds to user creating a better experience.
Dynamic websites can be simple websites with HTML and Javascript , or website with database support, or even an E commerce application.(Now don't ring your head to find out what these are -- you will get to know each one as you build, or if you are interested go ahead and search on the internet in Google ).
So........what do you think we are ultimately going to build............yeah u guessed it right... Dynamic powerful application. But before you would do that we will create its parts. A static site can become a part of a dynamic website. So .... without delay we will build a static website first.
Lets begin then.....
First design the Layout ...U can use pen and paper or PC to design the layout. I am going to paste an image here copy it if you feel like. You don't need to be an artist, its just a guide line...... so here it goes.
O ....wo.....oooo......wait a minute where the hell did these division come from and how the heck am I going to make these out of the HTML I learned? if that's the question then here's the answer.
In order to make this layout we need to know the <div> tag of html and also in order to give dimensions to the sections we need to learn CSS properties. I know its hell because we just barely started to make something and we find there's a lot to learn. But believe me once you get the basics nailed u will be a web developer in no time.
So what's a <div> tag -- this tag defines a section in a webpage(what is a website then - a collection webpages.... remember).
How to use it.......... well its this way.....
<html>
<div>
I am the first div
</div>
</html>
now save this as a html file with extension .html and then open it in a browser......... in a browser what you would see is simple text....... how did it work then?
To find this out need to you need to right click and inspect element , and select the text ...... what your will find is this text is enclosed in a div. Yes thats it div or divisions do not have border by default.
ok Enough for this session , I will c u soon.
Today we will try to make a useful static website....OK before I do that let me tell you that websites are basically of two types:-
1. Static. - Content of the website doesn't change or respond to user.(Pure HTML and images).
2. Dynamic.- Content of the website changes and responds to user creating a better experience.
Dynamic websites can be simple websites with HTML and Javascript , or website with database support, or even an E commerce application.(Now don't ring your head to find out what these are -- you will get to know each one as you build, or if you are interested go ahead and search on the internet in Google ).
So........what do you think we are ultimately going to build............yeah u guessed it right... Dynamic powerful application. But before you would do that we will create its parts. A static site can become a part of a dynamic website. So .... without delay we will build a static website first.
Lets begin then.....
First design the Layout ...U can use pen and paper or PC to design the layout. I am going to paste an image here copy it if you feel like. You don't need to be an artist, its just a guide line...... so here it goes.
O ....wo.....oooo......wait a minute where the hell did these division come from and how the heck am I going to make these out of the HTML I learned? if that's the question then here's the answer.
In order to make this layout we need to know the <div> tag of html and also in order to give dimensions to the sections we need to learn CSS properties. I know its hell because we just barely started to make something and we find there's a lot to learn. But believe me once you get the basics nailed u will be a web developer in no time.
So what's a <div> tag -- this tag defines a section in a webpage(what is a website then - a collection webpages.... remember).
How to use it.......... well its this way.....
<html>
<div>
I am the first div
</div>
</html>
now save this as a html file with extension .html and then open it in a browser......... in a browser what you would see is simple text....... how did it work then?
To find this out need to you need to right click and inspect element , and select the text ...... what your will find is this text is enclosed in a div. Yes thats it div or divisions do not have border by default.
ok Enough for this session , I will c u soon.
