Computer Science, asked by mishika62, 13 hours ago

Don't create spam I asking this question 3rd time bcoz u all guys created spam I want proper answer urgently ​

Attachments:

Answers

Answered by Anonymous
53

Displaying data - HTML

Before we display the data in exactly the same way as given in the attachment, let's first know that what is HTML, after that we will write the cօde.

What is HTML

HTML is the hypertext markup language, it is the standard markup language, it is used for creating web pages, it's consist of a series elements. HTML elements tell the browser, how to display the content.

What we need to do

Here, we will use <p> tag to display the data in exactly the same way as given in the attachment and we will use text align for center. <p> tag is used for paragraph, it defines the paragraph of the HTML document.

\rule{300}{1}

The Cօde

<!DOCTYPE html>

<html>

<head>

<title>Displaying the data</title>

</head>

<body>

<p style="text-align:center">Divine Sainik School <br /> Lahartara-D.L.W. Varanasi <br /> Class-10 <br /> Subject-Computer Application</p>

</body>

</html>

\rule{300}{1}

The Output

The output of the given cօde will be as follows:

⠀⠀⠀⠀ Divine Sainik School

⠀⠀⠀ Lahartara-D.L.W. Varanasi

⠀⠀⠀⠀⠀⠀⠀ Class-10

⠀ Subject-Computer Application

So this the the required output for this cօde, the all text will come in center as given in the Question also.

Answered by juwairiyahimran18
0

Displaying data - HTML

Before we display the data in exactly the same way as given in the attachment, let's first know that what is HTML, after that we will write the cօde.

What is HTML

HTML is the hypertext markup language, it is the standard markup language, it is used for creating web pages, it's consist of a series elements. HTML elements tell the browser, how to display the content.

What we need to do

Here, we will use <p> tag to display the data in exactly the same way as given in the attachment and we will use text align for center. <p> tag is used for paragraph, it defines the paragraph of the HTML document.

\rule{300}{1}

The Cօde

<!DOCTYPE html>

<html>

<head>

<title>Displaying the data</title>

</head>

<body>

<p style="text-align:center">Divine Sainik School <br /> Lahartara-D.L.W. Varanasi <br /> Class-10 <br /> Subject-Computer Application</p>

</body>

</html>

\rule{300}{1}

The Output

The output of the given cօde will be as follows:

⠀⠀⠀⠀ Divine Sainik School

⠀⠀⠀ Lahartara-D.L.W. Varanasi

⠀⠀⠀⠀⠀⠀⠀ Class-10

⠀ Subject-Computer Application

So this the the required output for this cօde, the all text will come in center as given in the Question also.

Similar questions