[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] quanta, aligning, and img links...
From:       jean-claude destruel <jdestruel () gmail ! com>
Date:       2008-12-13 20:57:19
Message-ID: 1229201839.7084.2.camel () ubuntu804
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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#

[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.18.3">
</HEAD>
<BODY>
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?<BR> <BR>
jc<BR>
<BR>
On Fri, 2008-12-12 at 18:31 +0000, Andrew Wigglesworth wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Wednesday 10 December 2008 06:55:57 Niko Sams wrote:
&gt; 2008/12/9 Kevin Martin &lt;<A \
HREF="mailto:ktmdms@gmail.com">ktmdms@gmail.com</A>&gt;: &gt; &gt; &lt;a \
href=&quot;adasdfasdf&quot; &gt;&lt;img src=&quot;asdasdfd&quot;/&gt;&lt;/a&gt; &gt; \
&gt; then my alignment works but, of course, my img link does not. &gt;
&gt; why does your img not work?
&gt;
&gt; the closing tag is only needed for XHTML but afaik doesn't any harm for
&gt; HTML.
&gt;
&gt;
&gt; Niko
&gt; _______________________________________________
&gt; Quanta mailing list
&gt; <A HREF="mailto:Quanta@mail.kde.org">Quanta@mail.kde.org</A>
&gt; <A HREF="https://mail.kde.org/mailman/listinfo/quanta">https://mail.kde.org/mailman/listinfo/quanta</A>


This is partially true.  In HTML 4.01 it is perfectly &quot;valid&quot; 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.

&lt;p&gt;&lt;a href=&quot;abcd.html&quot; &gt;&lt;img src=&quot;abcd.png&quot; \
alt=&quot;abcd&quot; / &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;abcd.html&quot; &gt;&lt;img src=&quot;abcd.png&quot; \
alt=&quot;abcd&quot; / &lt;/&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;abcd.html&quot; &gt;&lt;img src=&quot;abcd.png&quot; \
alt=&quot;abcd&quot; / &lt;/&gt;

&lt;p&gt;&lt;a href=abcd.html &gt;&lt;img src=abcd.png alt=abcd / &lt;/&gt;


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:

&lt;p&gt;&lt;a href=&quot;abcd.html&quot; &gt;&lt;img src=&quot;abcd.png&quot; \
alt=&quot;abcd&quot;&gt; &lt;/a&gt;&lt;/p&gt;

and avoid the shorttag form altogether.

_______________________________________________
Quanta mailing list
<A HREF="mailto:Quanta@mail.kde.org">Quanta@mail.kde.org</A>
<A HREF="https://mail.kde.org/mailman/listinfo/quanta">https://mail.kde.org/mailman/listinfo/quanta</A>
 </PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
Jean-Claude Destruel<BR>
CISSP / CNA, CNE / Security+, A+, Network+ / Wireless#
</TD>
</TR>
</TABLE>
</BODY>
</HTML>



_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic