Murilo Pereira (@mpereira), May 14th 2013
The file received and rendered by the web browser is an HTML file. This type of file is made of plain text formatted in a way that browsers interpret its content and render it accordingly.
<html>
<body>
<h1>Hello World</h1>
<p>First steps in HTML<p>
</body>
</html>
First steps in HTML
Along with the HTML file returned by the web server may come a CSS file. CSS is a language used to specify how the HTML should be rendered on web browsers. It says how the layout, colors, fonts and other things should look like.
body { background-color: yellow; }
h1 { font-style: italic; }
p { border: 5px solid blue }
<html>
<body>
<h1>Hello World</h1>
<p>First steps in HTML<p>
</body>
</html>
body { background-color: yellow; }
h1 { font-style: italic; }
p { border: 5px solid blue }
First steps in HTML
var profilePic = document.getElementsByClassName('profilePic')[0];
profilePic.src = 'http://i276.photobucket.com/albums/kk8/martinthurssoon/th_ZuckerMovie.gif';
profilePic.src = 'http://cdn.uproxx.com/wp-content/uploads/2012/05/mark-zuckerberg.jpg';
var profileName = document.getElementsByClassName('_8_2')[0];
profileName.innerHTML = 'Marky Zubemkerg $$$';
var nyanCat = document.createElement('img');
nyanCat.src = 'http://fc05.deviantart.net/fs70/f/2012/168/e/4/nyan_cat__sparta__gif__by_lookincool45-d53trrz.gif';
nyanCat.style.position = 'absolute';
nyanCat.style.top = '350px';
nyanCat.style.left = '150px';
nyanCat.style.width = '80%';
nyanCat.style.zIndex = '1000';
document.getElementsByTagName('body')[0].appendChild(nyanCat);
var image = document.getElementsByClassName('image')[0].getElementsByTagName('img')[0];
image.src = 'http://i.minus.com/ibnMfO5dXlo1FG.gif';
You can use HTML, CSS and JavaScript to make lots of things:
While it's possible for you to learn enough --for some definition of enough-- becoming a great programmer requires tens of thousands of hours of hard work.