Wednesday, February 6, 2013

CSS Lession 2

Just finished reading section 1 in my course CSS and i have to say that it was among the most informative pages about web development i have ever read. The overview was superb and gave me an insight into the differences between all the markup languages like xml, html, xhtml that i always wanted to know. But also how and when you should use scripts and plug-ins for website.

I also had the time to MM 60% of the table of contents in the course book.

2 kinds of scripts 
(Scripts are writen directly inside the XHTML file.)
 
 Client based  - Javascript, gives the webpage dynamic. Can look like this.
<script type="text/javascript">
<!--
document.write("Hello World!");
//-->
</script>

Javascript doesn't change the ending of the document, so it will still be names index.html.

Server based - PHP, give the webpage security. Can look like this.
<?php
echo ("Detta skript körs på servern");
?>

PHP script change the ending to PHP, ex index.PHP


No comments:

Post a Comment