HTML is a widely used language that gives our webpage a structure. HTML stands for HYPERTEXT MARKUP LANGUAGE. HTML was created by Berners Lee in 1991.
A Physical tag has physical text which is used to tell the browser how to display the text enclosed in the physical tag.
Example for the physical tags are: <big>, <b>, <i>
Logical tags are used to tell the meaning of the enclosed text in it. The example of the logical tag is <Important>….</Important> tag. When we enclose text in Important tag then it tell the browser that enclosed text is more important than other text.
<table border cellspacing=3> <table border cellpadding=3> <table border cellspacing=3 cellpadding=3>
<a href="mailto:email@example.com?Subject=Hello%20again" target="_top">Send Mail</a>
HTML supports a wide range of media formats for sound, music, videos, movies, and animations. Below is the list extensions supported by each media format.
|Media Type||Formats Supported|
|Images||png, jpg, jpeg, gif, apng, svg, bmp, bmp ico, png ico|
|Audio||MIDI, RealAudio, WMA, AAC, WAV, Ogg, MP3, MP4|
|Video||MPEG, AVI, WMV, QuickTime, RealVideo, Flash, Ogg, WebM, MPEG-4 or MP4|
Semantic HTML or Semantic Markup is HTML that introduces meaning to the web page rather than just presentation.
<form>, <table>, and <article> are examples of Semantic Elements.
Below are the list of few new Semantic Elements introducted HTML5
HTML tag is just opening or closing entity.
</p> are called HTML tags
HTML element encompasses opening tag, closing tag, content (optional for content-less tags)
<p>This is the content</p> : This complete thing is called an HTML element
The difference between span and div is that a span element is in-line and usually used for a small chunk of HTML inside a line (such as inside a paragraph) whereas a div (division) element is block-line (which is basically equivalent to having a line-break before and after it) and used to group larger chunks of code.
<div id="scissors"> <p>This is <span class="paper">crazy</span></p> </div>
Further Reading: http://www.htmldog.com/guides/html/intermediate/spandiv/
The basic purpose of using alternative texts is to define what the image is about. During an image mapping, it can be confusing and difficult to understand what hotspots correspond to a particular link. These alternative texts come in action here and put a description at each link which makes it easy for users to understand the hotspot links easily.
Yes, Collapsing white spaces is one good way of writing HTML codes in an organized way. White spaces act similar to a single-spaced character and occupy the same size as rest of the characters. By collapsing multiple white spaces, we can indent lines of text and make the code more readable.
Never Miss an Articles from us.