We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5
HTML Tags:
Head Elements:
Tag Description Attributes Possible Values
<title> Specifies the title of the web None page. <link> Specifies the hyperlink to an href, rel rel="stylesheet" external source. href="mystyle.css" <style> Specifies the CSS styling None inside HTML page. <script> Specifies the JavaScript Code None for the web page. <meta> Specifies the additional meta name,content name='description', information for the web page. content="details of web page content"
Page Layout and Content Tags:
Tag Description Attributes Possible
Values <header> Specifies the wrapped text as the None header of the web page document. <footer> Specifies the wrapped text as the None footer of the web page document. <article> Specifies independent and self- None contained content. <section> Specifies a section in a web page None document such as chapters. <aside> Keeps the content aside from the None main content. <nav> Specifies the navbar portion of the None web page. <main> Specifies the main content of the None document. <a> Specifies hyper-link to either an href, rel, href external web page or some other target ="dummy.com" division of the same web page. rel=" noopener noreferrer" target="_blank, _self,_parent or _top"
<div> Separate block-level division of the None
web page document. <span> Specifies the Inline division of an None HTML element. <ul> Specifies the unordered list. <ol> Specifies the ordered list. type, start, 1,I,I,a,A reversed <li> Specifies the list item element. None <dl> Specifies the description list. None <dt> Specifies the Title of the description None list element. <dd> Specifies the definition/ details of None the description list element.
Text Content and Text Formatting Tags:
Tag Description Attributes Possible Values
<h1>,<h2>, Heading tags where <h1> is None <h3>, the most important heading <h4>,<h5>, and <h6> is the least <h6> important heading. <p> Specifies paragraph element. None <br> Specifies the line break. None <blockquote> Specifies quotes. cite cite="dummy.com" <sup> Format the text content as None superscript. <sub> Format the text content as a None subscript. <em> Emphasize the text content. None <strong> Highlight the text content as None important making it bold. <mark> Highlight the text content None marking it with a yellow background. <del> Specifies deleted text by None None striking off. <ins> Specifies inserted text by None None underline.
Forms Element:
Tag Description Attributes Possible Values
<form> Specifies the form action, method action="target.html" element. method="GET" <input> Specifies the input type, placeholder, type=" text", field. value, formaction placeholder="Enter Username" value="" formmethod- "POST" <button> Specifies an input None None button element. <label> Specifies label for an for for = "id1" input element. <select> Specifies the drop- value down list. <option> Specifies the options value, selected value ="abc" in the <select> drop selected= "true" down. <datalist> Specifies the auto- None None completion list. <progress> Specifies a progress min, max, step, min ="0", bar value max="10", step="1", value="5" <meter> Specifies a meter min,max,step,value min="0", max="10", guage step="1", value="1" <output> Displays output of None None user input <textarea> Custom sized text box rows, cols rows ="2" cols="2" to collect input.
Table Elements:
Tag Description Attributes Possible
Values <table> Specifies the table element. None None <thead> Specifies the header portion of the None None table element. <tbody> Specifies the content portion of the None None table <caption> Specifies the heading of the table None None <colspan> The element that is used to logically None None group the related columns <tr> Specifies a new table row. None None <td> Specifies a new table column. None None Embedded Elements:
Tag Description Attributes Possible Values
<img> The element that is src, alt src="./demo.img" alt="Alternative used to embed an text" image into the web page. <audio> The element that is src, src='./audio.mp3' controls used to embed audio controls, ="controls" into the web page. loop, autoplay, preload, muted <video> The element that is src, src="./video.mp4" used to embed video controls, controls="controls" into the web page. loop, autoplay, preload <source> Specifies the src src= "abc.mp4" different formats for video/ audio elements to be embedded into the web page. <figure> Specifies a self- None None contained content along with a caption. <figcaption> Specifies a caption None None for a <figure> element