在Windows Phone 7中使用HTML添加图像

本文关键字:HTML 添加 图像 Windows Phone | 更新日期: 2023-09-27 18:09:31

我有一个关于如何在Windows Phone 7中使用HTML添加图像的问题

学校

    <Image Name="myImg" Source="/WindowsPhoneApplication14;component/Images/Assets/about_school.jpg"
           align="left" width="170" height="200"/>
    <b>Little Flower Public School:</b><br/><br/>
    Little Flower Public School, At Little Flowers, learning is a joyful experience. Children are molded into confident
    and compassionate individuals, giving them the edge to span the horizon with élan.
    The system of education cannot remain static. The School endeavors to prepare children for a world which is becoming
    more and more complex by the day. The emphasis is on all round development through a process of probing, questioning
    and analyzing.
    The State of the Art architecture of the School building designed by M/s. Thomas Architects and M/s. Mitresh
    Architects provides spacious and well ventilated class rooms, three science laboratories, 2 libraries, Computer
    Room, Audio Visual Room, Amphitheatre and lung space for recreational activities.
    -----------------------------------
    The administrative and teaching facilities are spread over six levels.
    Learning amidst fun and frolic is the mantra of Pre-school education today. The Kindergarten at Little Flower Public
    School is the stepping stone into the world of What, When, Where, Who, Why................
    At Little Flowers, learning is a joyful experience. Children are moulded into confident and compassionate
    individuals, giving them the edge to span the horizon with élan.<br/><br/>
    <br/>
</p>
</body>
</html>

在上面的HTML清单中,除了图像以外的所有内容都显示出来了。你能告诉我如何插入图像源吗?

在Windows Phone 7中使用HTML添加图像

<Image>不是HTML。正确的标签名称是<img>,其来源是属性src:

<img src="somepicture.jpg">