39.7k views
4 votes
1. Write the HTML code that would create this output on a web page:

There will be no late work accepted. There are no exceptions to this policy.

1 Answer

6 votes

To create the desired output on a web page, you can use the following HTML code:

<p>There will be no late work accepted. There are no exceptions to this policy.</p>

The <p> tag is used to create a paragraph element in HTML. The text inside the <p> tags will be displayed as a paragraph on the web page.

Alternatively, you could also use the <div> tag to create a container element for the text, like this:

<div>There will be no late work accepted. There are no exceptions to this policy.</div>

The <div> tag is a generic container element that can be used to group other HTML elements together and apply styles to them. It does not have any inherent meaning or semantics, unlike the <p> tag which represents a paragraph.

User Mezm
by
3.4k points