Posts

Showing posts with the label Html

Difference between HTML and HTML5 | HTML and HTML5 | HTML | The ACX

Difference between HTML and HTML5 HTML:- The language in HTML does not have support for video and audio. The HTML browser uses cache memory as temporary storage. Uses cookies to store data. In HTML, the browser interface and JavaScript running in the same thread. It is not possible to create shapes like  circles, rectangles, triangles . The Works with all older browsers. HTML 5:- HTML5  supports both video and audio. HTML5 has storage options like  application cache, SQL database,  and  web storage . Uses local storage instead of cookies. The HTML5 has the JavaScript Web Worker API, which allows the browser interface to run in multiple threads. Using html5, you can draw shapes like circles, rectangles, triangles. A new browser supports this.

How to Set Background Image In Html | How to add background image in css | Background-image: url path | Html Background | The ACX

Image
HTML Background Images Add a background image on an HTML element, using style attribute in Html and the CSS  background-image  property:-  Ex. < div  style ="background-image: url('(photo name).jpg');" > Also We Can Use  <style>  element for  background image,  in the  <head>  section:-  Ex. < style > div  {   background-image :  url(' (photo name) .jpg') ; } < /style > Background Cover If you want the background image to cover the entire element then, you can set the  background-size  property to  cover. Also, Set the element is always covered and set the background-attachment property to fixed:- Ex. < style > body  {   background-image :  url(' (photo name) .jpg') ;    background-size :  cover ;    background-attachment :  fixed ;    background-repeat :  no-repeat ; } < /style >

How to Handle Html tags in color | Html color picker | How to change text color in html | Color tag in Html | Tags in Html | The ACX

Image
You can specify colors on page level using <body> tag otherwise you can set colors for individual tags using bgcolor attribute. The <body> tag has the following attributes which can be used to set different colors − bgcolor − sets a color for the background of the page. text − sets a color for the body text. alink − sets a color for active links or selected links. link − sets a color for linked text. vlink − sets a color for visited links − that is, for a linked text that you have already clicked on. HTML Color Coding Methods Color names − You can specify color names directly like green, blue or red. Standard Color Hex codes − A six-digit code representing the amount of red, green, and blue that makes up the color. Hex Color Color decimal or percentage values − This value is specified using the rgb( ) property. rgd Color