Skip to main content

Start with Basics!

Now that we have got everything ready lets start with our part! An html page is just like another document that you keep in your official files packed and stuffed! And having said that, it also consists of defined elements to describe the structure of the document like, it has a heading, a page title, few paragraphs, etc.
I HOPE YOU GOT THE IDEA. Now likewise, these elements form the layout of the page in an HTML document also and they have a fixed syntax on HOW and WHERE they need to be placed.

The html elements are always written with the angle brackets "<" and ">" for the web browser to understand and distinguish between html elements and the text wrapped in them. In html terminology these angle bracketed elements are called TAGS*


Most of the times these tags exist in pairs, i.e. opening and closing tags to be specific. The content is wrapped between these pair of tags in order to apply the properties and behaviour of that specific element. For e.g. : A paragraph starts with a new line, a header text is bold and bigger than normal text etc.

These opening tag and closing tag just differs by a single "slash '/ ' " before the tag name in the closing tag like this pair : <tag></tag>. The super tag of all that defines a page is html is the "html tag" itself. It's written like <html>...</html> and almost everything in html is written between these html tags.

It is advised that every time you start with html, you type both the opening and closing tag for each element first and then type the content or other html tags between them in order to avoid complications.
Write the opening and closing tags : <html></html>
then write the content between them : <html> .... .... .... </html>



NOTE: The html tags are not case sensitive. If you write a tag with Capslock ON by mistake or pressing Shift intentionally it wouldn't make a difference. e.g. : <HTML></HTML> and <html></html> are the same. but don't try experimenting like <hTmL>, <htmL> etc. although it will work but the best practise is to use all lower case characters while writting tags.

Just open you favourite text editor and write the opening and closing html tags. Feels to less of a work! Just preparing the boat. The journey to the sea is still to start.

Comments

Popular posts from this blog

How to program pyramids using loops - 2

In this video tutorial, two of the more patterns have been discussed that relates to the similar pattern problems. What's different about these are that they also include spaces before the stars as a part of the pattern to be printed. Having this extra sub pattern to track spaces  in the desired pattern requires an extra loop to track and control it . For a brief review, We discussed that these patterns if observed carefully are just representation of tables i.e. a combination of rows and columns . And few of the cells in that table are populated with some data according to a logically programmed algorithm with represents a pattern. In these cases, the red triangles shows us the spaces represented by "sp" and therefore unlike the previous pattern these need to be managed by the loop as they occur before the stars in the pattern. So, taking the same approach of rows and columns managing loops, we will have an outer loop that tracks the rows which will start at 0...

How to open any installed application on MAC OS X using Terminal !

MAC OS X 10.9 is one of the finest operating systems used in the business as well as household purposes. Considering the unix side of the operating system, it becomes beneficial to be able to do trivial stuff like opening any app directly from the command line interface, i.e. Terminal in this case. There are a lot of other uses that a utility like terminal can offer you but for the instant purpose, let us find out how to open any of the installed applications on your MACINTOSH using the terminal. I will be working with few of the application I have installed on my system. You are free to choose your own. The general syntax for the command is : open -a application_name If you want to open the application as a super user, just prefix the command with sudo : sudo open -a application_name Test commands : (Use these commands one-by-one to open the specified applications) open -a textmate open -a bbedit open -a firefox open -a opera open -a finder open -a mail Watc...

Hello World in C!

C is considered to be the most robust programming language. It is the mother of all modern programming languages. It still has it roots fixed deep even after 45 years of existence. C is one of the fastest programming languages and because of its relationship with the lower level of the computer architecture, it can process data nearly as fast as the hardware components itself. Learning C language is a major step in learning computer programming as a whole. Though C is a relatively small language, its rather important to understand the basic technicalities of the language. In order to dip your toes in the water, let's start with the trivial "HELLO WORLD" program. Test Code : ( Use this code to display Hello World! in the console ) #include<stdio.h> int main(int argc, char const *argv[]) {    printf("%s\n", "Hello, World!");    return 0; } NOTE:  Don't worry about anything else you see on the screen just ...