HTML - Attributes
Hi Guys and Gals,
My memory is getting so bad I can't remember what memory means. I can't seem to get rid of an error for validating. I built a new site for a friend, http://www.armystuffauction.combut I have two errors that say: Error Line 12 column 37: there is no attribute "HEIGHT". <table border="1" width="440" height="131"id="asalogo.gif"> Is there a simple way to fix this??? Thanx abaca Similar TutorialsI'm a beginner and I need to know exactly how to put together and img tag. I know how to do it with the other ones but I don't exactly know how to do it with just one tag. Please someone help me out simple question I hope. What's the proper way to name image alt attributes please? For example, how would I name the music logos on both sides of the page? Just say "image of a jbl music logo"? Would that be correct? What is the difference between <link href="styles.css"/> and <link rel="stylesheet" type="text/css" href="styles.css"/>? Is there something different which takes place "behind the curtains"? [ <form method='POST' enctype='multipart/form-data' action='fup.cgi'> <input type=file name=upfile> ] can anybody please explain me wht is enctype=' ' here. and type=file. hi guys i want to know the differnce between style and class attbute in html tags.and also i want to know wheter they can replace each other .if not why thanks amir I would like to use hotkeys in our j2ee application. I did some attempts and found out this - hotkeys (attribute accesskey) : - Works with <input type="image> button in IE but doesn't work in Mozilla. - Doesn't work with <a> links in IE, but works in Mozilla You can verify that with simple code (see below, hotkeys h and t are used). IE activates hotkes with Alt, Mozilla with Alt+Shift Have I any chance to make all the above work in both Browsers? P.S. - I would like to use <input type="image"> instead of <input type="submit">, which seems to work with accesskey attribute in both browsers. Thanks. Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1250"/> <title></title> </head> <body> <a href="http://www.yahoo.com" accesskey="h" >Link</a> <form action="http://www.youtube.com"> <input type="image" accesskey="t" title="Button"/> </form> </body> </html> My website home page has no h1 tag, only a h3 tag, and that was used to create a heading of a certain font size. My spider simulator reports there in no h1 tag, suggesting that isn't good for SEO. Should I make sure there is a h1 tag somewhere, and can that be anywhere on the page? (It's not a heading as such). I want a certain sentence to be the h1 tag as it contains several of the keywords. Can I make these changes and dump the h3 tag, leaving only one h1 tag? And can it be done locally rather than in a css file? My website uses the Woo Canvas theme in Wordpress. Hi Guys, Code: <td><a href="#" onclick="javascript:document.forms['formStatement'].submit()"> <%= statement.getTransaction().get(i).getTransactionId()%></a></td> As u see above is cell of a table, I want to fetch the value of the row cell as i want to use it using request object like req.getAttribute("some attribute"); How can i do that? Hi. What officially is supposed to be the difference between th "id" and "name" attribute according to HTML?? I know Javascript and CSS make a distinction between the two but as far as I can see the 4.01 spec makes no attempt to explain the difference, explanations of both seem like they do the same thing: both are supposed to be global unique, the spec even says they "share the same name-space" implying collisions implying they do the same thing. But I know name is not a valid attribute to alot of elements. Is it historical? Hi People. I am hooked onto AJAX based apps these days. Instead of using JS to create html using strings. What I did was create a structure in html and clone it to repeat the structure using JS. But, to prevent DOM from being corrupted, I had to append a unique number to the ID of each element (and I had to attach the data to the element anyway). So, instead what I did was remove the ID of the element while cloning and used my own 'data' attribute to attach the data to the element. But, this would violate the W3 standards, right? Or it Wont? What is a better solution? Hi, I just wanted to check with someone as I can find no information on this. If you add addtional attributes to an input for example.. <input type="text" name"input1" color="green" fruit="apple" /> is this legal html and/or legal for javascript to read the addtional attributes, just they might not get transmitted in a request? Thanks Alex. Ive been challenged with coming up with 50 tags and fifty attributes. Tags Im ok with but cant for the life of me find the attributes now most of them are in css. Yelp, help? Hi there, I've been casually browsing the site for a number of weeks now, with the intention of registering and becoming involved. I've stumbled across a problem within an intranet that I'm working on which I'm hoping some of you may be able to help with. Perhaps the most succinct way to get my problem across would be to describe the situation I'm faced with: Our intranet has a section that displays a company flowchart, which shows a breakdown of everybody's job titles in a spider-diagram. The size of the company dictates that for this to be readable, it has to be fairly large in size. The actual size of the document I need to use (which is in PDF format at present) is 640mm x 400mm. Previously, we have been splitting this into three separate sections to enable it to be displayed as three images (on three separate pages) - each of these three images were then inserted into the relevant page, with an image map created over them to enable the effect I wished (upon clicking on someone's name/box, it pops up a Facebox pop-up with their job description and some other information about that individual. The way the script works, this is all contained within the single HTML file). My problem now is that I would like to achieve as close to this effect as possible. However, the PDF link function doesn't allow the more sophisticated functions, so I would have to convert each Facebox content into a new HTML content, which can then be linked to from within the PDF. My question, therefore, is - is it possible to control the attributes that this new window will open in, from within the source HTML file? Ideally, I would like to specify that the window that opens dynamically resizes to fit the content specified in the source HTML file. If this is not possible, can it be done that the window opens to a specific size? I've done numerous web searches, but haven't found anything relevant to this. If my above query isn't possible, I wonder whether it's plausible to set the default size of new windows from within the page that will contain the embedded PDF. Some sort of command that says "any new pop-up window (i.e. target="_blank") will be opened at X width and Y height." If neither of the above solutions are available, the third option would be to somehow mimick the functionality an embedded PDF offers (i.e. zooming in and out, keeping the total canvas size the same, being able to still create links that work on regions of the content, pointing to the various source HTMLs). I originally went down this road, but my search came up empty. I'm envisaging something Google Map-esque, I guess. I wonder, would it be possible to insert some sort of static frame (size-wise) that can then have scrollable content inside it, the content therein that can be assigned an image map? Zoom +/- functionality and click 'n' drag scrolling would both be high on the list of priorities. Anyone who can offer any insight is thanked gratefully in advance. |