Rabu, 17 April 2024

HTML Syntax 1

Web page will displayed well, if HTML Tags:
  • are always enclosed in angle brackets: < >.
  • as container tags have an opening and closing tag. An opening tag begins a section of page content, and a closing tag ends it. For example, markup a section of text as a paragraph, you would open the paragraph with an opening paragraph tag <p> and close it with a closing paragraph tag </p> (closing tags always proceed the element with a / slash).

Example HTML modern:

<!DOCTYPE html>
<html>
<body>

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

</body>
</html>

Example HTML classic:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>

<p>This is a paragraph.</p>
<p>This is another paragraph.</p>

</body>
</html>

Bibliography:

https://www.washington.edu/ ( university )
https://www.w3schools.com/
https://developer.mozilla.org/

HyperText Markup Language, internet programming, web development,

Related Post:


Tidak ada komentar:

Posting Komentar