Professional Documents
Culture Documents
Hom e
Web Tutorials
html - elements
When you land on a website, all the items you see in front of you -- the paragraph texts, the page banners, and the navigation links are all elements of the web page. The term element is a just a name given to any piece of a web page. Many HTML elements are actually invisible to visitors and work quietly behind the scenes to provide web crawlers and search engines useful information about the site.
Scripting
Javascript Tutorial PHP Tutorial Pe rl Tutorial Ajax Tutorial ASP Tutorial VBScript Tutorial
Databases
Php Programming
Write Any Kind of App In the Cloud In Multiple Languages. Learn More
windowsazure.com
Miscellaneous
Advertise on Tizag.com
An element consists of three essential pieces: an opening tag, the content, and a closing tag. 1. <p> - opening paragraph tag 2. Element Content - "Once upon a time..." 3. </p> - closing tag
HTML Tutorial
HTML - Introduction HTML - Elements HTML - Tags HTML - Te x t HTML - Form atting HTML - Pre HTML - Attribute s HTML - Font HTML - Te x t Link s HTML - C om m e nts HTML - Lists HTML - Im age s HTML - Im age Link s HTML - Table s HTML - Bgcolor HTML - C olor C ode s HTML - C olor C hart HTML - Back ground
A single page can contain hundreds or thousands of elements, but when all is said and done, every HTML page should have a bare minimum of four critical elements: the HTML, head, title, and body elements.
Web Forms
HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML HTML -
Special Tags
Form s Input Te x t Fie lds Password R e se t Subm it C he ck box e s R adio Se le ct Hidde n Fie lds Upload Te x tare as Body Music C ode s Vide o C ode s Me ta Style Div Layouts Fram e s Entitie s Scripts
Now save your file by selecting - Menu and then Save. Click on the Save as Type drop down box and select the option All Files. When you're asked to name your file, name it - index.html. Double-check that you did everything correctly and then press - Save. Now open your file in a new web browser so that you have the ability to refresh the page and see any new changes. If you opened up your index.html document, you should be staring at your very first blank (white) web page!
Formatting Tags
Get Help!
C ontact Us
Bold Paragraphs He adings Line Bre ak s Horizontal R ule Em ail Italic C ode Supe rscript Subscript Strik e through
HTML Forum
www.tizag.com/htmlT/elements.php
C ontact Us
If you've made the code changes and refreshed the browser page, you will notice that we still have nothing happening on the page. So far, all we've done is add a couple of necessary elements that describe the web page document to the web browser. Content -- the stuff you can see -- will come next!
Save the file and refresh the browser. You should see "My Web Page!" in the upper-left bar of your browser window. Name your webpage as you please. Just keep in mind that the best titles are brief and descriptive.
CSS Menu
Web Design
CSS Tutorial
Word Tutorial
2/3
www.tizag.com/htmlT/elements.php
Go Back
Continue
tips
Elements consist of three parts: an opening tag, the content or attributes, and the closing tag. There are four main elements to every web page:, ,
www.tizag.com/htmlT/elements.php
3/3