Contoh Sintak HTML

Di sini anda dapat melihat contoh-contoh sintak HTML yang mungkin dapat anda coba sendiri..

HTML Heading

<html>
<body>
<h1>This is Heading 1</h1>
<h2>Heading 2 is Smaller</h2>
<h3>Heading 3 is Smaller Still</h3>
</body>
</html>

 

HTML Paragraphs

<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
</body>
</html>

HTML Links

<html>
<body>
<a href=”http://www.w3schools.com”>This is a link to the
w3schools Web site.</a>
</body>
</html>

HTML Images

<html>
<body>
<img src=”w3schools.jpg” width=”104″ height=”142″ />
</body>
</html>

 

Thank’s to : Learn HTML and CSS with w3schools

Leave a Reply