matak
Jun 2 2007, 07:05 PM
| | If you try to put a link that has an & in your xHTML strict page, you need to change & to & in order for the page to be xHTML Strict..
eg..
BAD LINK: CODE http://jasamza.korisnik.com/forums/viewtopic.php?f=19&t=7&sid=6c2e9120dcff6e0b83698c4aa7be929a GOOD LINK: CODE http://jasamza.korisnik.com/forums/viewtopic.php?f=19&t=7&sid=6c2e9120dcff6e0b83698c4aa7be929a
copy pasted & |
Reply
I'm sorry I must be missing something, I don't see any difference between the two? it may be because of the browsers but idk.
Reply
master_bacarra
Jun 2 2007, 07:08 PM
um... hey matak, i don't see any difference in the two sample links. and by & you mean the html code for ampersand. am i correct? testing.... \& testing again.... &
Reply
matak
Jun 2 2007, 07:10 PM
Yes i edited the post, just replace the & with ' &a m p;' bolded, without spaces..
Reply
Saint_Michael
Jun 2 2007, 10:46 PM
But there is a problem to this though, although I think some php scripts fixed this, anyways, if your using php scripts that generate links and use them on your xhtml 1.0 strict page your going to come up with an error with the use of & and not coding it as such. also all xhtml validates that as an error if you use & instead of it's code when producing links, again if you code your php script properly then you won't have to worry about that error showing up.
Reply
matak
Jun 3 2007, 01:29 AM
@SM, you might provide explanation to how to avoid this error with PHP. urlencode() didn't work right for me. i read on w3 standards but it seems like you have to modify php.ini in order to avoid errors with these kind of links. maybe just using preg_replace on your link generator script would be a good solution...
Reply
Similar Topics
Keywords : xhtml strict links tip accure- What's The Point Of Xhtml?
- (3)
- Opening Hyperlink In New Window Using Xhtml 1.0 Strict
- (5)
My website (currently under construction) is all going well until I realized that the XHTML 1.0
Strict DTD does not allow the target="_blank" attribute. How would I find a way around this? I'm
used to using XHTML 1.0 Transitional, but I want this website to be Strict for a change. I would
really like it if someone here at trap17 can give me some css that allows them to be opened in a new
window. I have searched on Google and only found ways that include writing my own DTD (which I
don't want to do), use javascript, and use another doctype. All of those things, ...
Questions About Xml, Xhtml
- (3)
Hi, I like to know briefly about XML , XHTML and can be they be in replacement of MYSQL/MYSQL for
data storage?...
Links Help Please
- :) (10)
Okay i have links that work at my house but not at school where i am trying to edit the HTML, the
site is www.gaming-alliance.net, the links arent set anywhere but it should still send me to a blank
page if the link i sent it to does not exist. Could someone please check it out and see if its
working on a different computer? because it works on mine at home heres the code... Gaming
Alliance | Next Generation Of Gamers Today Thanks....
Create A Xhtml, Css3 Valid Gallery With Javascript ;part 1
- (0)
What were making In this tutorial, we will be creating a web page that can be used for a gallery, an
easy way of showing your portfolio of works or photography, etc. The page will be coded in XHTML
1.0 Strict and CSS3 valid, our CSS won't even have any warnings on them apart from one. So the
first thing we need to do is set up a base structure for the XHTML. Below is the code for this.
HTML html xmlns =" http://www.w3.org/1999/xhtml "> head > meta http-equiv ="
Content-Type " content=" text/html; charset=iso-8859-1 " /> title >XHTML & CSS Galler...
Wml / Xhtml ?
- for wap (6)
wml/xhtml who gvs more facilities to make a wap-community site?...
Image Links
- (5)
Ok...another question...may sound stupid, but we're all stupid...how'd I be able to create
an image link. Uh...let me rephrase this: If I were to create an "Enter" image and wanted people to
click the image to enter to a certain page, how would I do it without some sort of the famous "Blue
Line" around it? Any help would be greatly appreciated... /unsure.gif"
style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" />...
Html And Xhtml
- serving the right kind (11)
Right now I have a site, which I've made XHTML 1.0 Strict. I am sending it as
application/xhtml+xml to browsers that say they can handle it, and as text/html to all other
browsers. Anyway, I started thinking that I'd much rather send proper HTML 4.01 to browsers that
don't understand XHTML instead of XHTML pretending to be HTML 4.01. It's not really a
problem with IE, because it is made to handle badly written sites, but who knows, some browser that
can handle HTML, but not XHTML, may be (correctly) parsing CODE <p> Hello <br />
World...
Need Free Help With Upgrading Websites For Church
- Must be versed in XHTML and CSS (4)
I recently helped a Father Andreas of the Ukrainian Orthodox Church in Denver revamp his
websites. He was happy enough that he passed on the information about my help to a friend. I have
received this e-mail, but I am unable to do much since I am not educated in XHTML and only know
basic CSS (still learning). QUOTE I want to update my websites from HTML with tables to XHTML
with Style Sheets. All of my websites are for my Church, the Hellenic Orthodox Traditional Church.
Would you be able to assist me with this project? In Christ! Symeon of Denver If...
Embed Tag Valid In Xhtml 1.0 Strict?
- (2)
Is it? If not, could anyone reccommend how to get round it?...
Keyboard Shortcut For Links In Html?
- (8)
Is there a way to make use of the keyboard when togging html links? I'm doing a project and it
would be nice if the user won't be too mouse-dependent. He will have the option of using the
keyboard as well. I'm thinking if the user does a particular keypress (CTRL + LETTER maybe? )
the link will be "clicked". This is probably a stupid question but if anyone knows a way it would
be so fantastic! /cool.gif" style="vertical-align:middle" emoid="B)" border="0"
alt="cool.gif" /> Thanks....
Xhtml Strict Method For Submit/reset Buttons As An
- (1)
What's the proper way to handle submit and reset buttons? Using type submit and reset don't
allow you to replace the default button with an image, using the type image doesn't allow a
button to automatically act like a submit or reset....so far as I know. So How should I do this
when I want to use a custom image as the button? Code will be best way to explain, thanks! ...
What Is Xhtml
- What Is It And Why Use It? (27)
I was wondering what XHTML is because I have seen alot of sites that claim to be XHTML validated
rather than HTML validated. How does this compare to HTML? Why is it better? How hard is it to
master? How similar is it to HTML? Thank you for answering my questions! You should know by
now that What Is...? section is not to post question. Moving. Warning issued. ...
Encoding And Xhtml Requirements
- (2)
OK, so after reading a lot of contradicting information I decided to ask. How should document
encoding be announced? The W3C validator (or at least links from the same upon a missing encoding)
suggests the server should send the encoding in the content-type header. The problem with this that
I see is that you can't always make a blanket judgment about what encoding pages will be in. Is
it simply suggested to use .htaccess files (or equivalent) for this, then? I am led to believe that
most (all?) browsers will ignore a content-type meta tag. Is there another in-file o...
Xhtml Forms Layout
- all within the standars (8)
We all remember the good old tables right? When we used them to design or beloved websites. But
nowadays things have change a little bit, strict code format, css, xhtml and no tables. And so
when it comes finally to the design of a form, instead of having two rows (left row with the label
and right row with the input tag) and those rows aligned to look nice (left row= right aligned and
right row=left aligned), how can we keep order with our fancy style sheet? Thanks in advance....
Dynamic Links
- (3)
his may be a CSS question, but it's the XHTML not validating that's giving me a problem.
I'm working with the most out-dated shopping cart software (Click Cart Pro) ever and I'm
trying to get it to validate XHTML 1.0 Transitional. All the XHTML I've supplied is good and
validates fine, but where I'm falling short at the moment is with the linking. ClickCart Pro -
by default - spits out HTML from 1996, and the links are supplied with ampersands - not the XHTML
character entity "&". Par l'exemple: Code: CODE <a href="http:...
Modify The Invision Skin Standards
- about the xhtml (1)
and hi, i just used the ipb1.3final.yeah.my skin is caliskinV6,got that from here ,since the cali3D
won't realease the new skin for IPB1.3 i just wanna to know if this is impossible,--modified the
skin to xhtml 1.0 or 1.1 standards. and you know the default skin of ipb is a comptnet,and the
Adding skin like CaliskinV6 is another comptnent,they are the different system,so i think there
would be the way to make the templates to xhtml stict. thank you,guangdian....
Xhtml 1.1 Vs Xhtml 1.0
- Whats the difference? (13)
Is it only one type of xhtml 1.1 versus the three different types of xhtml 1.0 (strict,
transitional-loose, and frameset)? Is it 1.1 only strict? What are the differences or whats this
all about? I have heard something about xhtml 1.1 but have not actually seen one (not that i know at
least)... Thanks!...
Strict Xhtml
- target atribute (4)
I have ran into this issue; Strict XHTML 1.0 does not support target atribute... so what should i
do? How will i use _blank pages with my stuff?...
Order With Xhtml And Css
- how do i improve (10)
hi!, actually i'm working on one site for my grandma's vivarium, i have been researching
all kinds of features about xhtml and css and it rocks, but i have got a lot of problems with the
arrangement, alignement and possitioning, specially when the content of tables differs and i have to
create a new class, and then i have to reorder all the padding, marging, width and heights commands
or even worse, nesting!. I lose the control of the layout. ok the question here is if there is
any way of doing standard tables(with divs) of content or layouts structures,...
Trouble With Links On A List
- i want to display it inline (7)
I have a menu that i want to display inline, in the same row, something like this: CODE
<style type="text/css">
ul{float:left;width:100%;padding:0;margin:0;}
a{float:left;text-decoration:none;color:white;background-color:red; padding:5px
10px;} a:hover {background-color:blue} li {display:inline} </style> The
only problem is that i want a custom img for showing as CODE list-style:
url(img/bullet.gif) But seems that display:inline makes my bullet go away... could s...
Xhtml Dtd
- can you set it up? (5)
Can you set up the document type definition in order to create your own tags in XHTML? (Just as it
happens with XML). I have been learning XML and DTD, and as i actually DO find it useful, i think
its even more useful the fact that a language (like HTML) already strongly accepted, has its own
structures defined. Its just sometimes you need to add a little adjustment here and there. So i
ask if theres a way to define this in XHTML, your structures of tags and attributes and all that. I
already know a coupple of sites which teach xhtml, but just have not found what i wa...
Update Navigation Links?
- (2)
One of the requirements for the site Im working on right now is to be able to update navigation
links easily. Its easy to do with frames, which I want to avoid. If I have 8 different pages, and
add another page or anything, I dont want to have to open 8 pages and make the change to all of
them. Is there another way, like having some kind of external style sheet, and bieng able to update
that and have it carry over to all the other pages? As far as I understand, you can only have CSS
code in a external stylesheet, and all the link infomation is in the actual page itself....
Dropdown Menus Links
- IDK how to make them link (3)
Ok its a big problem to me, i need to make my drop down menus options link to a web page. I know i
can do it with a button, and i can get that to work but i need/want to have it link as soon as the
option is selected........How do i do that?...
What Is The Xhtml 1.1 Code To Embed An Applet?
- (2)
I've been doing a lot of java stuff recently and some is pretty neat, so I'd like to put it
on the internet. I'm using XHTML 1.1 for all my pages, though, and according to W3Schools
doesn't exist anymore and to use object. It's not working, though. There are a bunch of
attributes ( http://www.w3schools.com/tags/tag_object.asp ) and I have no idea which things I need
to use. Which do I put for an applet?...
Xhtml Concerns
- just wondering (6)
i been reading about it i got somewhat an understanding of it but how can you clearly define as
xhtml when all it really is a html redefined to the point that its just trimmed down and little bit
added here and there or its just the lack of understanding of it that confuses me. well of course
im wondering if anyone is using xhtml or still using html or a combo of both? of course i need some
more info w3c don't help out much....
Need To Learn Xml Quick
- links or info on xml (8)
I need to learn xml and would like links or anything on the subject. I've looked at some code
and i still don't see the point to it at all. round ...
Frames And Links
- (3)
I don't often use frames and I am having a problem linking from page to page. I am using php.
I have a link with goes: result 1 In results.php I create my frames and use 'if' queries
to select a frameset depending on the variable passed in the link, so it goes: if ($_GET ) {
else ...and so on. My problem is this - when I use target="result1", a new window opens and loads
the page the way I want it, but I don't want a new window to open. If i put target="_self",
then the page loads in the same window, but the page 'results.php' ap...
Wha's The Difference Between Xhtml 1.0 And 1.1?
- (2)
i learned xhtml 1.0 from w3 schools, but that was 1.0. what's new in 1.1? thanks in advance...
Looking for xhtml, strict, links, tip, problem, accure
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for xhtml, strict, links, tip, problem, accure
*MORE FROM TRAP17.COM*
|
advertisement
|
|