Create a table in HTML

Prabhas
Published on 13-Mar-2018 14:33:13
The HTML <table> tag is used for defining a table. The table tag contains other tags that define the structure of the table.The following are the attributes −AttributeValueDescriptionabbrabbreviated_textDeprecated − Specifies an abbreviated version of the content in a cell.alignrightleftcenterjustifycharDeprecated − Visual alignmentbgcolorrgb(x, x, x)#hexcode colornameDeprecated − Specifies the background color of the table.borderPixelsDeprecated − Specifies ... Read More

Create superscripted text in HTML

Priya Pallavi
Published on 13-Mar-2018 14:23:41
Use the <sup> tag to create superscripted text. The HTML <sup> tag is used for defining subscript text like, 2<sup>3</sup> + 3<sup>2</sup> = 17ExampleYou can try to run the following code to display subscripted text in HTML −<!DOCTYPE html> <html>    <head>       <title>HTML sup Tag</title>    </head> ... Read More

How to display a summary for a given <details> in HTML5?

George John
Published on 13-Mar-2018 14:46:34
Use the <summary> tag to specify a summary for the details added using <details> tag.ExampleYou can try to run the following code to display a summary in HTML5 −<!DOCTYPE html> <html>    <head>       <title>HTML Summary Tag</title>    </head>    <body>       <details>       ... Read More

Display subscripted text in HTML

Chandu yadav
Published on 13-Mar-2018 14:44:51
Use the <sub> tag to create subscripted text. The HTML <sub> tag is used for defining subscript text like, x<sub>1</sub>+ x<sub>2</sub>ExampleYou can try to run the following code to display subscripted text in HTML −<!DOCTYPE html> <html>    <head>       <title>HTML sub Tag</title>    </head>    <body>   ... Read More

Create a style definition in HTML

Ankith Reddy
Published on 13-Mar-2018 14:43:01
The HTML <style> tag is used for declaring style sheets within the head of your HTML document.The following are the attributesAttributeValueDescriptiontypetext/cssSpecifies the style sheet language as a content-type (MIME type).mediascreenSpecifies the device the document will be displayed on.ttytvprojectionhandheldprintbrailleauralallExampleYou can try to run the following code to create a style definition ... Read More

Create a selectable list in HTML

Jennifer Nicholas
Published on 13-Mar-2018 14:40:57
Use the <select> tag to create a selectable list. The HTML <select> tag is used within a form for defining a select list.The HTML <select> tag also supports the following additional attributes −AttributeValueDescriptionautofocusautofocusSpecifies that on page load the drop-down list should automatically get focus.disabledDisabledDisables the input control. The button won't ... Read More

Create strong text in HTML

seetha
Published on 13-Mar-2018 13:11:26
To display strong text, use the <strong> tag. The HTML <strong> tag is used for emphasizing an important text.ExampleYou can try to run the following code to implement <strong> tag in HTML −<!Doctype html> <html>    <head>       <title>HTML strong Tag</title>    </head>    <body>       ... Read More

Display strikethrough text in HTML

Nikitha N
Published on 13-Mar-2018 13:13:50
The HTML <strike> tag specifies strikethrough text. This tag is deprecated now, use <del> instead. The HTML <del> tag is used for markup of deleted text i.e. strikethrough text.ExampleYou can try to run the following code to display strikethrough text in HTML −<!DOCTYPE html> <html>    <head>       ... Read More

Create a media resources for media elements, defined inside video or audio elements in HTML5.

George John
Published on 13-Mar-2018 13:10:48
The HTML <source> tag is used for defining multimedia resources for <audio> and <video> elements. The browser can make a choice from the source based on media type and codec support.ExampleYou can try to run the following code to create a media resources for media elements, defined inside video or ... Read More

Create small text in HTML

Srinivas Gorla
Published on 13-Mar-2018 13:02:20
To create small text, use the <small> tag in HTML. The HTML <small> tag makes the font size one size smaller.ExampleYou can try to run the following code to create small text in HTML −<!DOCTYPE html> <html>    <head>       <title>HTML small Tag</title>    </head>    <body>   ... Read More
Advertisements