Re: quanta, aligning, and img links...

jean-claude destruel <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <1229201839.7084.2.camel@ubuntu804>
I can't display/preview .php in Quanta 3.5; I have been told it's a
question of adding a mime-type of .php; but, I have no idea where to go
to fix it. Do you have any suggestion?

jc

On Fri, 2008-12-12 at 18:31 +0000, Andrew Wigglesworth wrote:

> On Wednesday 10 December 2008 06:55:57 Niko Sams wrote:
> > 2008/12/9 Kevin Martin <[email protected]>:
> > > <a href="adasdfasdf" ><img src="asdasdfd"/></a>
> > > then my alignment works but, of course, my img link does not.
> >
> > why does your img not work?
> >
> > the closing tag is only needed for XHTML but afaik doesn't any harm for
> > HTML.
> >
> >
> > Niko
> > _______________________________________________
> > Quanta mailing list
> > [email protected]
> > https://mail.kde.org/mailman/listinfo/quanta
> 
> This is partially true.  In HTML 4.01 it is perfectly "valid" to use the 
> SHORTTAG form, however, it is not reccomended since not all browsers 
> recognise it properly.
> 
> For instance *all* of the following are valid HTML 4.01.
> 
> <p><a href="abcd.html" ><img src="abcd.png" alt="abcd" / </a></p>
> 
> <p><a href="abcd.html" ><img src="abcd.png" alt="abcd" / </></p>
> 
> <p><a href="abcd.html" ><img src="abcd.png" alt="abcd" / </>
> 
> <p><a href=abcd.html ><img src=abcd.png alt=abcd / </>
> 
> 
> In this case there is a difference between code that is valid and that which 
> is good practice.  The last example also misses out quotation marks which is 
> also valid, but bad practice since simply inserting something such as a ? in 
> the file name would render the document invalid.
> 
> Good practice would be to use the following:
> 
> <p><a href="abcd.html" ><img src="abcd.png" alt="abcd"> </a></p>
> 
> and avoid the shorttag form altogether.
> 
> _______________________________________________
> Quanta mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/quanta

Jean-Claude Destruel
CISSP / CNA, CNE / Security+, A+, Network+ / Wireless#

_______________________________________________
Quanta mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.