1. Definitions
HTML
Hyper Text Markup Language (HTML) is a coding language that is widely used to develope your web pages.
It is also called the building block of HTML pages. All the elemnts are represented by tags, such
"heading", "paragraph", "table" etc. The browser does not show the tags but use them to render the
content of the pages. The basic structure of HTML page be like this.
<!DOCTYPE html>
<html>
<head>
<title>
<title>
</head>
<body>
</body>
</html>
CSS
CSS stands for Cascading Style Sheets is web language that is used to add the styles on web pages. In a simple way it can be said that, CSS is a language that describes the styles of HTML document. For exmaple it can set the background color, font colors, fort family and sizes etc.
JavaScript
Javascript oftne short form of JS is a hight level and dynamic programming language. Along side HTML and CSS, Javascript is one of the three core of world wide web content production. We can say HTML is to define the content of web pages and CSS is to specify layout of the web pages, whereas, Javasript is to program the behaviour of the web pages.
HTTP
HTTP stands for Hyper-Text Transfer Protocol. It is a plain text protocol which is used to transfer HTML webpages. HTTP uses port 80 by default in TCP/IP connection. HTTP defines how messages are formatted and transmitted, and also what actions Web servers and browsers should take in response.
HTML5
The largest version of Hypertext Markup Language is HTML5. It does everything from animation to apps to build incredibly complicated applications that run in your browser. It doses not require any additional software such as broswer plugnis.
Dynamic HTML
Dynamic HTML is collection of Static languages such as HTML, CSS and JavaScript. With the proper combination of all those static languages, a dynamic webpage can be created. For example, with the help of javascript we can check inputs in a form without reloading the page and even without connecting to the server. This makes the user experience way easier.
2. Coding Conventions
Programs are made up with codes and these programs let us do the desired task with machine. The relation between code and programs are same as relation between human body and cells. We need clean and healthy cells for us to be healthy as a being in the same way programs need well structured and well organized lines of codes to be a solid program. This is where "Coding Convention comes in".Coding conventions are set of rules made for writing codes easier and understanding written codes convenient.
Some very important reasons to follow coding conventions are:
Easy to understand
They make written codes easy to understand even when we are skimming. Coding conventions make us write our codes structurally and with some pattern.
-
Uniformity
They give uniformity in structures. We use the same structure for same pattern. For example: if we write functions like this:
function greet("name"){
document.write("Hello "+ name);
}
We always write functions like that throughout the code. Not writing like this in another page:
function greet("name"){ document.write("Hello " + name);}
But both are perfectly valid for machines. -
Development and Maintenance
Nobody develops and maintains a huge code all alone. In order for the code to be easy to understand for other collaborators it is essential to use coding convention. In addition to that, when the code has to modified years later, use of coding convention makes it really easy.
5. Dynamic HTML
Here you can write names using JavaScript
Names: