From quanta Sat Dec 13 20:57:19 2008 From: jean-claude destruel Date: Sat, 13 Dec 2008 20:57:19 +0000 To: quanta Subject: Re: [Quanta] quanta, aligning, and img links... Message-Id: <1229201839.7084.2.camel () ubuntu804> X-MARC-Message: https://marc.info/?l=quanta&m=122920189308202 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1745185672==" --===============1745185672== Content-Type: multipart/alternative; boundary="=-UI/Ku2Ha6oe/asOR0Vm5" --=-UI/Ku2Ha6oe/asOR0Vm5 Content-Type: text/plain Content-Transfer-Encoding: 7bit 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 : > > > > > > 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 > > Quanta@mail.kde.org > > 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. > >

abcd

> >

abcd

> >

abcd > >

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: > >

abcd

> > and avoid the shorttag form altogether. > > _______________________________________________ > Quanta mailing list > Quanta@mail.kde.org > https://mail.kde.org/mailman/listinfo/quanta Jean-Claude Destruel CISSP / CNA, CNE / Security+, A+, Network+ / Wireless# --=-UI/Ku2Ha6oe/asOR0Vm5 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit 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 <ktmdms@gmail.com>:
> > <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
> Quanta@mail.kde.org
> 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
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
Jean-Claude Destruel
CISSP / CNA, CNE / Security+, A+, Network+ / Wireless#
--=-UI/Ku2Ha6oe/asOR0Vm5-- --===============1745185672== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Quanta mailing list Quanta@mail.kde.org https://mail.kde.org/mailman/listinfo/quanta --===============1745185672==--