Next we looked at servers…
We could pay for hosting to make it visible to the internet. Server nae could be anything. Root directory will be your hosts folder fr your website.
All a website is is a code! <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” This is a indication to the web browser of how to handle this document. The w3 stands for world wide web.
<head> these are called tags.
<title>Untitled Document</title> This would be your title that users will see.
Content usually goes inside the body.
We need to figure out how to control the web browser using code. CSS governs the layout. we created an external css file…We then saved it as “style sheet”. This follows a set of rules t populate a page. The first rule we are going to create is ‘body’.
We linked the file so we can then go back and edit it.
All web pages start will whats called a out wrapper. If doesnt it doesnt know where to start and end. We need to tell the browser the boundaries of the page. The generally are 1024 pixels accoss. We have 2 ways of defining this. theres only 1 per page! We give it a ID which is denoted by a hash. You can only use these once.