We can display images as a link.we have to use the <img src=" ">tag for this purpose.within the double quotes image file should be mentioned.Normally .gif or .jpg files are used to display the images on the web browser.Following XHTML script shows how to insert an image in the web page.XHTML DOCUMENT[imagedemo.html]
<html
xmlns="http://www.learnhtmeasyl.blogspot.com/2017/xhtml">
<head>
<title>Image Demo</title>
</head>
<body> <h1>INDIAN HERITAGE </h1>
<p>CSS- Cascading Style Sheets (CSS) is a style sheet language used for
describing the look and formatting of a document written in a markup
language
</p>
<img src=" " alt=" "/>
<br/>
While most often used to style web pages and interfaces written
in HTML and XHTML, the language can be applied to any kind
of XML document, including plain XML, SVG and XUL.
<br/>
</body>
</html>
No comments:
Post a Comment