Create a HTML document and insert comments in the HTML source code and insert
horizontal lines.
horizontal lines.
Input
<!DOCTYPE html>
<html>
<body>
<h1>The Main Languages of the Web</h1>
<p>HTML is the standard markup language for creating Web pages.
<br>HTML describes the structure of a Web page, and consists of a
<br>series of elements. HTML elements tell the browser how to
<br>display the content.</p>
<hr>
<p>CSS is a language that describes how HTML elements are
<br>to be displayed on screen, paper, or in other media.
<br>CSS saves a lot of work, because it can control the
<br>layout of multiple web pages all at once.</p>
<hr>
<p>JavaScript is the programming language of HTML and the Web.
<br>JavaScript can change HTML content and attribute values.
<br>JavaScript can change CSS. JavaScript can hide and show HTML
<br>elements, and more.</p>
<!-- Comments are not displayed in the browser -->
</body>
</html>
Output
No comments:
Post a Comment