HTML Text Formatting This text is bold This text is italic This is computer output This is subscript and superscript HTML Formatting Tags HTML uses tags like <b> and <i> for formatting output, like bold or italic text. These HTML tags are called formatting tags (look at the bottom of this page for a complete reference). Often <strong> renders as <b>, and <em> renders as <i>. However, ...
HTML Text Formatting This text is bold This text is italic This is computer output This is subscript and superscript HTML Formatting Tags HTML uses tags like <b> and <i> for formatting output, like bold or italic text. These HTML tags are called formatting tags (look at the bottom of this page for a complete reference). Often <strong> renders as <b>, and <em> renders as <i>. However, ...
HTML documents are divided into paragraphs. HTML Paragraphs Paragraphs are defined with the <p> tag. Example <p>This is a paragraph</p> <p>This is another paragraph</p> Note: Browsers automatically add an empty line before and after a paragraph. Don’t Forget the End Tag Most browsers will display HTML correctly even if you forget the end tag: Example <p>This is a paragraph <p>This is ...
Headings are important in HTML documents. HTML Headings Headings are defined with the <h1> to <h6> tags. <h1> defines the most important heading. <h6> defines the least important heading. Example <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3> Try it yourself » Note: Browsers automatically add some empty space (a margin) before and after each heading. Headings ...
Attributes provide additional information about HTML elements. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Attributes come in name/value pairs like: name=”value” Attribute Example HTML links are defined with the <a> tag. The link address is specified in the href attribute: Example <a href=”http://www.rajithablog.wordpress.com”>This is a link</a> Always Q
HTML documents are defined by HTML elements. HTML Elements An HTML element is everything from the start tag to the end tag: Start tag * Element content End tag * <p> This is a paragraph </p> <a href=”default.htm”> This is a link </a> <br> * The start tag is often called the opening tag. The end tag is often called the closing tag. ...
I am going to explain you some basics in HTML by this tutorial. This is just a brief description. I will explain each of them later on other tutorials. HTML Headings HTML headings are defined with the <h1> to <h6> tags. Example <h1>This is a heading</h1> <h2>This is a heading</h2> <h3>This is a heading</h3> HTML Paragraphs HTML paragraphs are defined ...