Friday, December 19, 2014

HTML

HTML FUNdamentals

October 2013. Writing HTML code is so much fun because you get instant gratification. If your code is working properly, you can see your code in a Web Browser right away.

I have been actually coding HTML for over a decade. It is easy to learn.

Technically, there is no programming involve in HTML since technically HTML is not a program. However, an HTML code can have a program included into it, for example, a JavaScript program. A CSS code is also like an HTML code. It is also technically not a program.

JavaScript is about the only client side programming language that you can find in an HTML code. No wonder it is so popular! However, you can invoke programs written in other language inside an HTML code, for examples, Java, C++, Visual Basic, Python, Ruby, Perl, and, of course, JavaScript. PHP is another programming language that you can find in an HTML code, but only if the HTML code is stored in a server computer.

The following is the fundamental design of a good HTML code.

<!DOCTYPE html>
<html>
<head>
<title>KNIGHT IN PROGRAMMING: Journey To Programming</title>
<style type='text/css'>
/* CSS code is written here. */
</style>
<script type = "text/javascript">
/* JavaScript code is written here. */
</script>
</head>
<body>
<script type = "text/javascript">
/* JavaScript code is written here. */
</script>
</body>
</html>

Now that you know how to write HTML, you can start writing in the World Wide Web. Who knows, the world can get smarter technically and psychologically and we can make the world of Star Trek come true in reality!

Knowledge is fun!

John Sindayen

References:
http://searchsoftwarequality.techtarget.com/definition/program
http://en.wikipedia.org/wiki/Client-side_scripting
http://programmers.stackexchange.com/questions/129141/is-css-a-programming-language

No comments:

Post a Comment