Tuesday, January 26th, 2010
and when I check my website, only the text shows, not the template itself, why?
The template, if it is HTML, you would have to put it into the index.html for it to show up. It won’t just magically link to the template. If the template is CSS, you’ll still need a link at the top of your index.html page the style.css template page. If you want to have text inside a set up html template, copy the template file, name it index.html, and put in your text on that file.
Technorati Tags: Css Template, Free Dreamweaver, Free Template, Html Check, Html Css, Html Style, Html Template, Style Css, Template Dreamweaver, Text Html
Posted in html index | 2 Comments »
Monday, January 25th, 2010
I know that asp is response.write but what is simple html code to insert the default date, say into a text field on a form?
HTML is static. You cannot have it insert dynamic content (ie: the current date). You’d need to use a server-side language like ASP or PHP or something on the client-side like JavaScript.
Technorati Tags: asp, Current Date, Dynamic Content, html code, Html Date, Response Write, Server Side Language, Text Html
Posted in html code | 2 Comments »
Monday, January 25th, 2010
does that mean XHTML better/faster for internet browsing on a traditional computer?
In theory, the rules are simpler and violating lots of them results in an error message rather than spending processor power to recover. In practise, mobile devices now have fast enough processors that this doesn’t matter.
The theory also applies to desktops, but suffers from a few problems. The main one is that Internet Explorer doesn’t support XHTML (note that a document which conforms to the xhtml specification but is served as text/html is treated as HTML, so doesn’t count), and Firefox doesn’t do incremental rendering (so it doesn’t show anything to the user until the entire document is downloaded, making it take longer before the user can start reading).
Technorati Tags: Desktops, Error Message, Firefox, Handheld Device, Internet Computer, Internet Explorer, Mobile Devices, Processor Power, Processors, Text Html, Traditional Computer
Posted in xhtml | 2 Comments »
Wednesday, January 20th, 2010
I need to know what is the different between HTML and XHTML. Is Xhtml have more tags than HTML.
XHTML is *not* a new version of HTML. It is a formulation of (the *same* version of) HTML in XML. XHTML1 is HTML4 expressed in XML.
HTML5 is *not* competing with XHTML. HTML5 can be expressed in XML — just like HTML4 can be expressed in XML — and is referred to as XHTML5.
Moreover, The HTML version of HTML5 allows syntax such as /> to ease migration from “xhtml-as-text/html” (which I suspect is what you are discussing here) to HTML5. So it should be trivial to migrate even if you use XHTML-like syntax. No need to worry about it.
BTW, your template doesn’t tell browsers that the document is XHTML not HTML. To do that, the server must declare an XML MIME type for the file. If you use text/html, browsers will interpret it as HTML, regardless of what it looks like.
take care
Technorati Tags: Browsers, Html And Xhtml, Html Xml, Migration, Mime Type, syntax, Text Html
Posted in xhtml | 4 Comments »
Wednesday, January 20th, 2010
My friend recorded a song and the recording studio sent her an email and it was html file. Then she forwarded to me and i want it on my ipod. How do i do this?
I bet the song was sent in something like a mp3 format as no song is going to be an HTML file and work. You could get the lyrics in text on an HTML form, but not any media file.
Is it compressed with a *.zip or *.rar extension? If so, it has to be uncompressed (extracted).
Ron
Technorati Tags: Bet, Email, Ipod, Lyrics, Mp3 Format, Rar, Recording Studio, Text Html
Posted in html | 3 Comments »
Sunday, November 15th, 2009
I’ve read I should use utf-8, is this correct?
@softwareDev: declaring the char encoding in the meta tag will only serve the page as html and not xhtml shouldn’t it be declared in the xml declaration?: <?xml version="1.0" encoding="utf-8"?>
yes that’s true
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
Technorati Tags: Content Type, Html Xmlns, Lt Xml, Meta Tag, Strict Dtd, Text Html, Xml Declaration, Xml Encoding
Posted in xhtml | 1 Comment »
Sunday, November 15th, 2009
Is it okay to learn XHTML without having any HTML knowledge at all? Do you think learning to hand code html is necessary to be taught in a Web Design class rather than directly proceeding to tools such as Dreamweaver?
I suggest that you ditch Dreamweaver, since such "WYSIWYG" only tend to cause problems, usually they also add alot of obsolate code to your documents.
Most websites designed with such applications, is poorly designed, in the forms of locked font-sizes; incorrect code; over-useage of frames; bad cross-platform/browser support.
There are many websites, which holds Tutorials/References for HTML and CSS, some of them include:
http://www.w3cschool.com/ – (tutorials/references)
http://www.w3.org/MarkUp/Guide/ – (Dave Raggett’s Introduction to HTML)
http://www.w3.org/Style/Examples/011/firstcss/ – (Starting with HTML + CSS)
All you really need to create website’s, is a copy of notepad, or notepad++ (But generally any Text-Editor would do). See also: http://notepad-plus.sourceforge.net/uk/site.htm
Learning XHTML isen’t that important, the differance between html and xhtml is minimal, you can allways update your pages later, with less to no effort.
A serious Web-design class, wouldent even tuch the "WYSIWYG" editors. Its more then enough to know they exists, having that seid, alot of text-editors, have programming tools, which will speed up, (or even replace) many of the tasks, which you would otherwhise do manually.
Support for xhtml is poor, causing some browsers to render pages as text/html, instead of appcication/xml.
Technorati Tags: Cross Platform, Differance, Ditch, Font Sizes, Hand Code Html, Html And Xhtml, Html Css, Html Knowledge, Introduction To Html, Learn Html, Learning Html, Markup, Notepad, Platform Browser, Programming Tools, Style Examples, Text Editors, Text Html, Web Design Class, xml
Posted in xhtml | 3 Comments »
Thursday, November 12th, 2009
They say it XHTML and CSS are both extensions of HTML. And when Im starting to make new website there is Doctype I need to choose – either HTML or XHTML..but doesnt matter what I choose I always use the same tags dont I?? I am very confused.
The only essential difference between XHTML and HTML is that XHTML must be well-formed XML, while HTML does not. (HTML 4 and earlier were nominally SGML, while HTML 5 defines its own parsing model in great detail.) Some examples of differences this imposes in practice are:
In HTML, some tags (e.g., <br>) are always empty and may not have closing tags. All elements must be explicitly closed in XHTML. XML permits two types of closing tag for empty elements: <br /> and <br></br>. In XML these are interchangeable, and either can be used freely for any tag. However, if xhtml content is to be served under a text/html MIME type to legacy browsers, only the self-closing form should be used for always-empty elements (like <br />), and only the explicit closing tag should be used for elements that are not always empty (like <div></div>). Otherwise, browsers will usually parse the tag incorrectly.
Similarly, HTML permits omitting end tags for some elements, such as <p>. Xhtml forbids this.
In HTML, almost everything is case-insensitive, while in XML, all element and attribute names are case-sensitive. XHTML requires all element and attribute names to be lowercase, while in HTML documents it’s common to find uppercase or even mixed-case names.
Various versions of HTML often permit quotes to be omitted from attribute values, e.g., <body lang=en>.[10] In XHTML, all attribute values must be enclosed by quotes, either single or double: <body lang="en"> or <body lang=’en’>.
HTML permits "attribute minimization", where boolean attributes can have their value omitted entirely, e.g., <option selected>. All XML attributes must have explicit quoted values, so in XML this would be written as <option selected="selected">.
Some required elements may be omitted in HTML, in which case they are implicitly added by the parser. For instance, various versions of HTML don’t require <html>, <head>, or <body> tags to be present unless they’re intended to have attributes. On the other hand, in XML the DOM must be determined without having to know which elements are required, so these tags must be specified explicitly.
In addition to these differences, some specifications define only an HTML serialization or only an XHTML serialization. XHTML 1.0 is roughly just an XML serialization of HTML 4.0, but XHTML 1.1, 1.2, and 2.0 have no HTML serialization, while HTML versions less than 4 have no XML serialization. HTML 5 is the first (X)HTML standard designed to support both HTML and XHTML serializations equally.
Technorati Tags: Attribute, Browsers, Case Names, DIV, Element, Empty Elements, Html Css, Html Documents, Html Tags, Legacy, Lt, Mime Type, Quot, Quotes, Tag, Text Html, Versions Of Html, xhtml, Xml Attributes, Xml Html
Posted in xhtml | 2 Comments »
Thursday, November 12th, 2009
Ok, I know that Arabic is written right to left, I know about using the dir=rtl code on text that displays on the page, but what about the keywords and descriptions in the html coding- page title, keywords, description?
Umm.. the same way you write them in any language??
Just add this line to your <head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256" />
For an example on using Arabic in the html <head>, please view the source of this Arabic page:
http://majles.alukah.net/showthread.php?t=10911
Technorati Tags: Arabic Web, Charset Windows, Content Type, Displays, Enter Keywords, html code, Html Coding, Lt, meta, Rtl Code, Showthread, Text Html, Title Keywords, Web Page Code
Posted in html | 1 Comment »
Wednesday, November 11th, 2009
I have a DreamHost.com account. Where do I go to update the text of my index.html and all other pages? I do not have anything fancy like databases. I put something up when I first got it, but I can’t figure it out now. :S Thanks.
First see if you can login to your control panel:
https://panel.dreamhost.com/
There will be a default FTP user set up, and you can change the password to gain access to your site files for editing.
There is also a webFTP program available through the control panel. It is somewhat limited as to the file size you can upload, but usually works well for HTML and images files. It has an editor with which you can alter files on the server.
Once you are in the control panel, you will see links to the extensive documentation.
Technorati Tags: Access Files, Control Panel, Databases, Documentation, Html Files, Html Images, Html Pages, Limited, Password Access, Text Html, Webpages
Posted in html index | 2 Comments »