Html5

Tags in HTML5-part3

Tags in HTML5-part3

Fadıl

HTML5 we continue where we left off.

<strong> tag

It is one kind of text formatter used to bold the text.

This is &lt;strong&gt;important&lt;/strong&gt;.

<style> tag

The HTML <style> tag is used for declaring style sheets within your HTML document.

&lt;style type="text/css"&gt;
 h1 {color:red}
 p {color:blue}
 &lt;/style&gt;

<sub> tag

The HTML sub tag is used for subscript text

&lt;p&gt;The HTML sub tag is used for &lt;sub&gt;subscript text&lt;/sub&gt;&lt;/p&gt;.

<summary> tag

The HTML <summary> tag indicates a rundown/subtitle that can be utilized related to the HTML5 <details> tag. This synopsis/inscription can be tapped on to summary/caption  the points of interest as required.

Tags in HTML5-part2

Tags in HTML5-part2

Fadıl

<figure> tag

The HTML <figure> tag is used for annotating illustrations, diagrams, photos, code listings, etc.You can use the <figure> element to associate a caption together with some embedded content, such as a graphic or video.

<form> tag

The <form> tag is used to create an HTML form for user input.The form element contains one or more form elements like: button, input, keygen, object, output, select, textarea and more.
Example

Tags in HTML5-part1

Tags in HTML5-part1

Fadıl

The Doctype

The doctype declaration is not an HTML tag. This  tag is used for specifying the language and version the document is using. The <!DOCTYPE> tag does not have an end tag and it is not case sensitive too.  The HTML5 specification recommends that all documents should have  <!DOCTYPE> header at the top of it.

Example

&lt;!DOCTYPE&gt;
 &lt;html&gt;
 &lt;head&gt;
 &lt;title&gt;Using Doctype&lt;/title&gt;
 &lt;/head&gt;
 &lt;body&gt;
 &lt;p&gt;Hello world!&lt;/p&gt;
 &lt;/body&gt;
 &lt;/html&gt;

<a> tag

This <a > tag is used to link another page from a webpage. The attribute target in <a> tag can be used to specify if the  new page should open in a  new tab or in a new window.