Computer Science, asked by Anonymous, 6 months ago

Write an HTML code to create a web-page which consists any

two container tags and any two empty tags.​

Answers

Answered by pushkarbhegade18
15

Answer:

HTML is the standard markup language for creating websites and CSS is the language that describes the style of an HTML document. We will combine HTML and CSS to create a basic web page.

Explanation:

Example

<!DOCTYPE html>

<html lang="en">

<head>

<title>Page Title</title>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1">

<style>

body {

  font-family: Arial, Helvetica, sans-serif;

}

</style>

</head>

<body>

<h1>My Website</h1>

<p>A website created by me.</p>

</body>

</html>

Example Explained

The <!DOCTYPE html> declaration defines this document to be HTML5

The <html> element is the root element of an HTML page

The <head> element contains meta information about the document

The <title> element specifies a title for the document

The <meta> element should define the character set to be UTF-8

The <meta> element with name="viewport" makes the website look good on all devices and screen resolutions

The <style> element contains the styles for the website (layout/design)

The <body> element contains the visible page content

The <h1> element defines a large heading

The <p> element defines a paragraph

Creating Page Content

Inside the <body> element of our website, we will use our "Layout Draft" and create:

A header

A navigation bar

Main content

Side content

A footer

hope you like it and plz mark me as brainliest dude

and follow me

Similar questions