facebook

MyEclipse HTML editor and img tags? (like
  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #253385 Reply

    motto12345
    Member

    I have started to use the HTML editor that comes with MyEclipse.

    This editor flags image tags such as

    <img src=”http://xyz.com/images/logo.gif&#8221; alt=”test” >

    saying that the “element type “img” must be terminated by a matching
    end-tag.
    If I change the above img tag to

    <img src=”http://xyz.com/images/logo.gif&#8221; alt=”test” />

    i.e., I close the tag with a forward slash and angle right bracket,
    than there are no more complaints.

    Is this a new rule in HTML, that tags need to be treated more like
    common XML and closed “properly” with “/>”, or what is it that the HTML editor wants?

    Thanks for your help and advice,

    Wolfgang,
    Santa Barbara, CA

    #253396 Reply

    Riyad Kalla
    Member

    Wolfgang,
    I’m not sure why you are seeing this (i can’t reproduce it locally).

    Can you right click on your HTML file and go to Open With, what editor has the black dot next to it(marked as default?)

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: MyEclipse HTML editor and img tags? (like

You must be logged in to post in the forum log in