HTML part-1 Assignment SolutionCS001
Assignment solution
Today we are going to teach you a very exciting thing which most of the students are willing to learn as they need it for the completion of their final year projects on assignment solution. So in order to help students we are going to teach them today HTML.
Now first of all we need to understand what actually HTML is? HTML is stand for Hyper Text Markup Language, and mostly known as ‘HTML’. HTML is used for creating websites and web pages. It’s very simple and pretty easy language. Every student who wants to learn programming and development they must start from HTML. In this article and in upcoming few more post we will teach you HTML on “assignment solution”.
We are not going to discuss here must details of HTML history and introduction on assignment solution but if you are interesting to know such details you can go through this link https://en.wikipedia.org/wiki/HTML
So let’s start learning HTML, as it is over first article on this topic on assignment solution, then we must know what skill and knowledge is prerequisite to learn and understand HTML. Luckily, there is no prerequisite for leaning HTML, even if you are not expert user of computer, you can learn HTML. Only two things we need are given below.
First one, a web browser like internet explorer
Second one, text editor like notepad
Fortunately you do have both of these things already in your computer.
So first you need to open notepad, which we will use as text editor. If you are windows xp user then to open Notepad, click Start, point to All Programs, point to Accessories, and then click Notepad.
For windows 7 users
Open Notepad by clicking the Start button. In the search box, type Notepad, and then, in the list of results, clickNotepad.
For windows 8 users
On the Metro Start screen and then type there: notepad Notepad will appear on left side of your screen Click Notepad to open it User of other operating systems can find similarly notepad in there system.
Now from here we have to start our HMTL coding.
So first of all you need to write this code into you notepad file and write this code in to the notepad
<html>
<body>
Assignment Solution
</body>
</html>
We will explain this code but first you need to save this file. So press Ctrl+s and save your files at desktop with any name but extension should be “.html” for example complete name should be like “assignment-solution.html”
Now, open file this file named “assignment-solution” from desktop with any browser if a page appears on browser with text ”Assignment Solution”, its mean you have successfully created your first web page.
So now let’s come back for the explanations of html code which we have already seen above. we have used two tag for the creation of our web page “assignment-solution”, tags are actually keywords which will not appear in our browser, they are used to define format in which browser will display content of webpage.
In html a tag consist of two parts first one is opening tag and second one is closing tag. So our first tag was “html” and second was “body” tag. Opening and closing tags of html was <html> and </html>. We have to use “/” to close all the tag. And which we will use first, we have to close it at the last like in above code we have used first opening tag <html> but when we were closing tags then first we closed </body> and we have close html tag with code </html> in web page assignment-solution.
For more explanation <html> tag is that tag which tells browser that every thing in between <html> and </html> tag is content of webpage or html document. It means if you will not use <html> tag and will use other documents then you webpage will not be webpage.
Now we have to discuss next tag which was <body> in our webpage assignment-solution. This is used to tell browser what content need to be shown on browser windows. It’s mean what ever you will write in between <body> and </body> tag what will be appear on browser. That is why when you opened “assignment-solution” in web browser then text “Assignment Solution” was shown there. But if will replace this text with your name, then your name will be appear on web browser.
We have learnt body tag to represent content on web browser. Can we present content in better formatting?
Yes we can do it. For example if we want to make text “Assignment Solution” a heading then what we have to do. For that purpose we have to use head tag which will be written in html like <h1> and </h1>.
<html>
<body>
<h1>Assignment Solution</h1>
</body>
</head>
Now what is “1” in tag <h1>, actually this tag is to make headings so there are different sizes of heading. For example you need largest size heading then you will use <h1> but if you need a bit smaller size heading then you have to use <h2>. There are 6 heading sizes, its mean you can use <h1>, <h2>, <h3>, <h4>, <h5> and <h6> also you must tag this tag with you “/”. Remember that if when ever you will use heading tag, after closing tag line will be broken. For example you will write code like…
<h1> Assignment Solution </h1> I like Assignment Solution
Then on web browser “Assignment Solution” and “I like Assignment Solution” will not appear on the same line, because heading take break like at their close and “I like Assignment Solution” will be appear on the next line.
So our today’s article ends up here, we have learnt basic and fundamental of html. You should try to write this code maximum and do a lot of practice. To learn programming and development, the only way is to write a lot of code. Also you need to remember always that practices make a man perfect. And if you feel any problem in making webpage or in learning html please feel free to ask me. Or submit your question in the comments section given below.
About the Author
anamzara is seo expert article expert and web developer since five year.
Tell others about
this page:
Comments? Questions? Email Here