| You are here: | About>Computing & Technology>Web Design / HTML> HTML and XHTML> Beginning HTML Tutorials> Basic (X)HTML Tags for a Web Site |
![]() | Web Design / HTML |
Beginning HTMLHTML References / Web Design ReferencesHTML 4.01 Tags / XHTML 1.0 ElementsCSS 1 and CSS 2 PropertiesHTML Codes Basic (X)HTML Tags for a Web SiteEvery Site Should Have These TagsThese are the tags required in every Web page. (Note: some are not technically required by the HTML specification, but some browsers will not render correctly without them, so it is always better to leave them in than out - the space you save is not worth the problems you might cause.) <!DOCTYPE>
<html> <head> <title> <body> A sample Web page would look like this: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Learn more about these and other tags in the HTML Tag Library. Beginning HTMLHTML References / Web Design ReferencesHTML 4.01 Tags / XHTML 1.0 ElementsCSS 1 and CSS 2 PropertiesHTML Codes |
Las Vegas on a BudgetFind a BargainHotel DealsCheap EatsFree AttractionsEntertainment for Less |
All Topics | Email Article | | | ![]() |
| Advertising Info | News & Events | Work at About | SiteMap | Reprints | Help | Our Story | Be a Guide |
| User Agreement | Ethics Policy | Patent Info. | Privacy Policy | ©2008 About, Inc., A part of The New York Times Company. All rights reserved. |


