PHP, MySQL, & JavaScript All-in-One For Dummies
Book image
Explore Book Buy On Amazon
Create web documents and websites by knowing basic HTML elements, PHP statements and functions, and more. Become familiar with these special programming languages, which you can use to build dynamic websites that work with the MySQL database.

Basic HTML elements

HyperText Markup Language (HTML) is the language of the web, where elements dictate the formatting and style of your content. HTML elements compose the downloaded coding that you see when you go to a web page in your web browser (such as Internet Explorer, Firefox, or Safari). Here are some basic elements to get you started building a web page.

Element Description
<a> An anchor is typically used to create links.
<body> Creates the body element for a page.
<br> Creates a line break.
<div> Creates a block to contain other HTML and text.
<doctype> Declares a document type for the HTML page.
<html> Creates the HTML element for a page.
<img> Creates a place for an image.
<span> Creates a space for an inline element within a page.

About This Article

This article can be found in the category: