Professional Documents
Culture Documents
Ekskul Web2
Ekskul Web2
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
</body>
</html>
Html colors
Background color
<!DOCTYPE html>
<html>
<body>
<p style="background-color:Tomato;">
Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam
nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat
volutpat.
</p>
</body>
</html>
Border color
<!DOCTYPE html>
<html>
<body>
<h1 style="border: 2px solid Tomato;">Hello World</h1>
</body>
</html>
Html LINK
<!DOCTYPE html>
<html>
<body>
<h1>HTML Links</h1>
</body>
</html>
Link –blank
<!DOCTYPE html>
<html>
<body>
<p>If target="_blank", the link will open in a new browser window or tab.</p>
</body>
</html>
HTML images
<!DOCTYPE html>
<html>
<body>
<h2>HTML Image</h2>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p>It is common to store images in a sub-folder. You must then include the folder name in the src
attribute:</p>
</body>
</html>
Animasi images
<!DOCTYPE html>
<html>
<body>
<h2>Animated Images</h2>
</body>
</html>
Images link
<!DOCTYPE html>
<html>
<body>
<h2>Image as a Link</h2>
<a href="default.asp">
</a>
</body>
</html>
Float images
<!DOCTYPE html>
<html>
<body>
<h2>Floating Images</h2>
<p>
A paragraph with a floating image. A paragraph with a floating image. A paragraph with a floating
image.
</p>
<p>
A paragraph with a floating image. A paragraph with a floating image. A paragraph with a floating
image.
</p>
</body>
</html>