A forum for discussing HTML, the publishing language of the World Wide Web—including issues such as compatibility, tags, elements and their proper usage, semantics, and the structure of (x)html in all its flavours.
Welcome to the second in our series of 'Talk With The Experts' live forum workshops. Next up is WordPress with SitePoint developers Harley Alexander (front end and WordPress) and Bernard Peh (PHP and WordPress) along with assorted Advisors from here at the forums. The session will kick off at...
Jodie Moule (author of our upcoming UX book) is looking for some SitePoint community members to interview for her book. She is specifically interested in what it is that you want from a UX book. If anyone is interested in taking part, please PM me your name and email address and I'll hook it up.
Frequently Asked Questions About XHTML vs HTML Table of contents What is XHTML? How is XHTML different from HTML How is XHTML 1.1 different from XHTML 1.0? What about XHTML 2.0? Should I use XHTML or HTML? Should I use XHTML 1.0 or XHTML 1.1? Why do so many books and sites recommend XHTML...
Hi all, What's the difference between the above standards? Which should be used in webpages? Thanks. Kevin.
Frequently Asked Questions About HTML Table of contents What is HTML? What does the DOCTYPE declaration do? What is a DTD? What is the difference between Strict, Transitional and Frameset? Which DOCTYPE should I use? Why should I validate my markup? Why does HTML allow sloppy coding?
on reddit today...
Good Morning from medieval York UK :-) Shortly after publishing content for www.davidclick.com (as the above screen grab illustrates) a rogue capital A circumflex appeared in various spots. Ive looked at the HTML but i cant see anything that would explain its appearance via Safari Version...
Looking through Art and Science of CSS, and trying to follow along with example in the "Navigation" chapter. Their example appears to have a brown background (box) but mine does not. Here is what I have html> <title>DIVISION EXPERIEMENT</title> <head>
Hey, I'm having some problems with setting a width on <q> tags. Is it possible to set a width for a quote? E.g. <q style="width:50px;">To me the most important thing is that everything is nearby</q> (Having the same issue with styling using an external CSS sheet).
Hi there, I'd like to add a simple feature to my site were a user has to select the right answer from a list. The code I'm using so far: <select> <option>Select answer</option> <option>a</option>
Hi I have done this site with tables rather than div tags. All I want to do is place some texts near the three images on the left-hand side. http://www.eyecatchersecurity.com/index.php/special-offers I am sure this is simple for those experts out there. And I am rusty on DIV tags which I...
I use the following code to try to get a browser make the OS only display certain file types when a user browses to upload a file. <input type="file" name="upload" id="upload" accept="image/jpeg, image/png"> But I tried this in Firefox 9 but it doesn't work. It also doesn't work in IE,...
Ok, so I'm coding in XHTML. I tend to copy/paste content from Word into notepad to hand code the content for the web. Problem > many symbols such as quotes " ", apostrophes ', colons :, dashes -, semi-colons;, etc. all show up as vertical black bars. Why is this? Is there a way to transfer a...
It has been so long since I have needed to do something like this I am not even sure what the best way to do this any more. I long time ago i used to use image maps to do this but I need to knwo if ther eis a better way now, other than Flash of course. I have a numbered grid that represetns...
Square Peg, Round Hole?! :blush: I am adding User Profiles to my website and allowing Users to upload their pictures (just like on SitePoint). Let's say that my HTML/CSS has a "hole" for the Profile Picture of 50px by 70x... (Same dimensions as a 5" x 7" photo) Now let's say people...
Guys: I wrote a mail script in PHP to allow users to compose email messages. I highlighted some text with HTML, for example, I did: <strong>Subject: </strong> But when users received an email from the system, they did not see Subject: Instead, they saw raw HTML tags
I have just seen this coding for html and was wondering where, why, how and if I should make use of it. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" class=" js flexbox canvas canvastext webgl no-touch geolocation svg"> Does anyone know where the class is explained?
Hi everyone. I created an html on text edit, saved it, and closed it. I'm trying to reopen it, I cannot see the texts that I've written because the text edit screen is coming up all black. I don't know why's that happening and if anybody can help out, please... I'm new to this.
Hello! I wonder if you have seen or used a software which can batch convert a list of excel files into the separate HTML files each corresponding to the individual sheets of the excel files? I have used the All Office Converter Platinum...
Hello, I have a quick question. I don't remember from where, but once I read that putting the javascript bottom or the head of an html document can help it load faster. Is this true? Also if you have some server-side languages in that html document should javascript be underneath or after that as...
I'm using tranlate tool for adding my website.By default,my website language is ENGLISH.When I translate to any language,it's right formatted Example : Day 2: Ha Long - Hanoi. (B, L) 7.00am: For early risers complimentary tea, coffee, fruit and cake are served. 8.00am: Visit Luon cave on...
Hi I have built a site optimised for iphone viewport 320px x 480px and works fine, I now need it to scale to automatically fit the Ipad viewport when the page loads. My meta viewport is below. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;...
I simply wanted to change a bit of content on an older website and even changing some text causes the entire video to not display. I could understand if I was doing some major changes, but even the div is still in the proper position so I don't know why it won't display. Can anyone give any...
Hi! All I want to do is to have such layout (that is browser compatible and valid xhtml :)). I tried with divs, margins and still I am missing something for IE7 so maybe I won't tell my solution but someone can think of own. I will be grateful and I am offering a beer ;). It seems quite...
hi all i have this below url in the form action="" manage.php?dealer=9&category=1&subcatg=6#av606 then in the page i have
Hi everyone, There is a 2000 lines table in an HTML site, containing information I want to have in an Excel spreadsheet. Can it be downloaded ? is there a way to convert "Table" HTML code to Excel? Thanks a lot
Hello, I thought it was ok to have the <a> element wrap, say, <li> element. It validated in december. Now it doesn't anymore. Has something changed? :)
Fighting with this for an hour now. <div class="mapframe"> <iframe <a href="http://www.city-data.com/city/california.html"></a>" </iframe> </div> The iframe opens well enough but no content from the city-data page.
Suspect this question should be asked elsewhere but since it pertains to my site let me try... Suddenly when I work on changes to my site, and then go to IE to look at them, it takes forever for the page to open? Just started do this last two days? Can anyone offer a clue? I have set Active X...
Okay, so i have this problem with the textarea in the page i'm currently creating, i can size it with css and everything is fine except for when you go to click on the textarea your pointer for typing can go anywhere inside the box..kind of hard to explain, but i want it so soon as you click on the...
Hi, I have a slideshow where the slideshow creation program has you upload the show then gives you code to place it anywhere in a web page. For placement I have it in a couple of divs: The issue I am having is that when the show is done the page it is to forward to shows up in the iframe. Is...
Hello I have an HTML which we send out at www.meadowlarkco.com/availableloads.html, by attaching it as text to our outlook message then sending out. The only problem is we have an automated process though our company software which sends to this to prospective customers but what the customer...
Hello, I have an HTML email which I send out, the page can be located at www.meadowlarkco.com/availableloads.html and when we send it directly via attaching it to an email then inserting as text it goes through fine, but we also send it out through an "automated process" which goes through...
Hi everyone, I've already created a php site that has the following doctype: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> I need to now add some html5 code but wondered...
<img src="/files/Subscriptionad4.jpg" width="338" height="250" border="0" style="border: 0" /> Is the above advisable? Can I omit either the border attribute or the style?
Had a few people tell me that they would like to comment on my entries. Is there an easy way to add a comment box to a website? I am not a website wizard.
I want to understand how to use the "div" element on my website. Is there a good tutorial here or somewhere that is easy to understand? For whatever reason I have trouble grasping it. My website takes a while to load, and many have said I need to have columns or something speed it up.
I'm an html coder and I want to identify from what website a user has submitted a contact form. The contact form is an <!--#include>file (.shtml) and this contact form <!--#include>file is being used on two different websites. Since it's only one file (<!--#include>) I thought about adding two...
Sitepoint Members, I read this tip on another site. It sounds like it could be useful but I'm not sure what it means. "Conditional comments can block resources from loading in parallel in Internet Explorer. Place an empty conditional comment before any external resources to eliminate the...
I am working on a website and having issues with the menu. I am using 2 menu lists on the same page and the second menu is using the first menu css. How would I go about making the second menu use it's own css? Website: fragranceloft.net/design/demo/index2.html CSS:...
While I no longer use the weather.com API I'm still wondering if I used <figure>/<figcaption> correctly and semantically in this instance. Here is an example of what the section used to look like: Here is the relevant code: <div class="weather"> <header> <figure><img...
Pretty much I want it so when I start a new line that it auto puts the bullets in. Basically I dont want to put <li>Item 1</li> <li>Iten 2</li> I need it where when I go to the next line it auto bullets. Reason being, when I am sending a quote to someone I have the info auto generated...
Hi there... a quick question. Howcome the picure dissapears when I wrap an anchor around it... Isn´t this pretty basic stuff? <div id="images"> <a href="my.url"><img id="image1" src="/themes/cleanmachine/images/alfasoft_preview.jpg" alt="Alfasoft"/></a> <img id="image2" src="2.jpg" />...
Hello, I was hoping someone could help me figure out why my html include was not working. In a previous thread, a while ago, I was told one can include html from another file using the following syntax: <!--#include virtual="pathToFile.html" --> Is that I am trying to use html includes in...
hello everyone please reply i tried using embed tag but its not sucessfull...please reply......i wanted to add in my blog on blogspot.com
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Forum Rules