Computer Science, asked by TbiaSamishta, 11 months ago

How we can create a simple webpage. Explain in details.

Answers

Answered by Secondman
2

Before creating a web page, it's necessary to understand the structure of a web page. It is divided into two main parts: Head and Body. Both of them are represented through a pair of tags enclosed inside a pair of <html> tags.

Now, you must be wondering what a tag is.

To explain this, I would like to point out to the name HTML itself, which stands for Hyper Text Markup language.

Here, every HTML tag is used to mark something.

Consider the example of <html> tag. It's a double tag which exists in the form of a pair of opening(<html>) and closing tag(</html>).

The opening <html> tag marks the beginning of html document and the </html> ending tag marks the end of <html.

Similarly, the bold tag (<b> and </b>) marks the beginning and end of text which must be shown in bold in the browser rendering the html page.

So, the basic template for every html page looks like: <html> <head> </title></title> </head> <body> </body> </html> Note: All the content which you want to show on the page must be written within the body tags.

As you go deeper into HTML, you'll learn about a lot of tags.

Some of the commonly used HTML tags are:

•Paragraph tag <p>

•Heading tags (<h1>, <h2>, <h3>)

•Image tag (<img>)

•Div tag(<div>)

Once you are familiar with HTML tags, then writing a webpage is just a piece of cake. It's not much difficult than writing a MS Word document.

The only difference is that instead of clicking various buttons, you'll be using HTML tags.

Similar questions