Webpages Using HTML5 Text Tags

‘<h1>‘ and ‘<p>‘ tags are found in almost all webpages using HTML5 text tags. The ‘<h1>‘ tags are fundamental to HTML5 and also important to learn. ‘<h1>‘ tags are probably one of the most used elements in web design. Almost all webpages have a main heading. First of all here is the code on line…

Share!Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on RedditShare on Tumblr

HTML5 Hyperlink Example

Webpages are linked due to hyperlinks. A fundamental building block in web design is the hyperlink. Therefore it is important to understand hyperlinks. A HTML5 Hyperlink Example is created using the HTML5 ‘<a> tag. First of all the ‘<a>‘ tag is used to create a hyperlink. Also the ‘&alt;a>‘ tag will require the ‘href‘ attribute.…

Share!Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on RedditShare on Tumblr

The HTML5 Image Tag Added

Images are another possibility with the html5 image tag added to a web designers bag of tricks. Images are also an important HTML5 element. You add an image with the HTML5 ‘img’ tag. Start with another simple example. First of all the ‘img‘ tag has two attributes. src=”url address so the browser can find image”.…

Share!Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on RedditShare on Tumblr

Basic HTML5 Webpage Example.

First of all here is a Basic HTML5 Webpage Example created in a text editor. Since the following HTML5 code example is simple you could easily type it in your text editor.

First of all save the file as index.html and then drag it into your web browser. So it should look the same…

Share!Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on RedditShare on Tumblr

Smallest Possible HTML5 Page

First of all here is a screenshot of a valid html5 page. It passed the W3c HTML5 validation yet the document only contains two lines (32 characters). The parent doctype and also a title child element with a full stop. In addition to showing no errors and passing the HTML5 validator it will render in…

Share!Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInPin on PinterestShare on RedditShare on Tumblr