

{"id":112022,"date":"2023-03-09T09:00:52","date_gmt":"2023-03-09T03:30:52","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=112022"},"modified":"2024-07-29T16:06:25","modified_gmt":"2024-07-29T10:36:25","slug":"css-background-properties","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/css-background-properties\/","title":{"rendered":"CSS Background Properties"},"content":{"rendered":"<p>CSS (Cascading Style Sheets) is a language used to describe the presentation of a document written in a markup language. One of the main features of CSS is the ability to control the background of elements on a web page. CSS background properties allow developers to set the background color, background image, and other styling options for elements on a web page. In this tutorial, we will learn more about Background Properties in CSS.<\/p>\n<h3>Background Properties in CSS<\/h3>\n<p>There are several background properties in CSS, including<\/p>\n<p><strong>1. background color<\/strong>:<\/p>\n<p>It sets the background color of an element. Accepts any valid CSS color value (e.g. red, #ff0000, rgb(255, 0, 0)).<\/p>\n<p><strong>Example<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">&lt;html&gt;\r\n&lt;head&gt;\r\n\u00a0&lt;style&gt;\r\n\u00a0div {\u00a0\r\nbackground-color: gray;\u00a0\r\n  }\u00a0\r\n&lt;\/style&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n    &lt;div&gt;Welcome to DataFlair&lt;\/div&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n<\/pre>\n<p><strong>Output<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/repeat-y.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112554\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/repeat-y.webp\" alt=\"repeat y\" width=\"857\" height=\"282\" \/><\/a><\/p>\n<p><strong>2. background-image:<\/strong><\/p>\n<p>It sets an image as the background of an element. Accepts any valid CSS image value (e.g. url(image.jpg), linear-gradient(&#8230;)).<\/p>\n<p><strong>Example<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* CSS *\/\r\ndiv {\r\n    background-image: url(image.jpg);\r\n    background-repeat: no-repeat;\r\n    background-position: center;\r\n}\r\n<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* HTML *\/\r\n&lt;div&gt;This div has an image as its background&lt;\/div&gt;<\/pre>\n<p><strong>Output<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/setting-a-background-image.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112555\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/setting-a-background-image.webp\" alt=\"setting a background image\" width=\"1290\" height=\"451\" \/><\/a> <a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/setting-background-image.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112556\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/setting-background-image.webp\" alt=\"setting background image\" width=\"1251\" height=\"39\" \/><\/a><\/p>\n<p><strong>3. background-repeat:<\/strong><\/p>\n<p>It sets how the background image should be repeated. Can be set to repeat-x, repeat-y, no-repeat, or repeat (the default value).<\/p>\n<p><strong>Example<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* CSS *\/\r\ndiv {\r\n    background-image: url(image.jpg);\r\n    background-repeat: repeat-x;\r\n    width: 300px;\r\n    height: 100px;\r\n}\r\n<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* HTML *\/ \r\n&lt;div&gt;This DataFlair div has a repeating background image in the x-axis&lt;\/div&gt;<\/pre>\n<p><strong>Output<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/repeat-x.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112563\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/repeat-x.webp\" alt=\"repeat x\" width=\"1567\" height=\"381\" \/><\/a><\/p>\n<p><strong>4. background-position:<\/strong><\/p>\n<p>It sets the position of the background image. Can be set to any valid CSS length value (e.g. center, top left, 10px 20px).<\/p>\n<p><strong>Example<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* CSS *\/\r\ndiv {\r\n    background-image: url(image.jpg);\r\n    background-repeat: no-repeat;\r\n    background-position: center;\r\n    width: 300px;\r\n    height: 100px;\r\n}\r\n<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* HTML *\/ \r\n&lt;div&gt;This DataFlair div has a background image centered in the middle&lt;\/div&gt;<\/pre>\n<p><strong>Output<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-repeat-property.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112558\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-repeat-property.webp\" alt=\"background repeat property\" width=\"1422\" height=\"526\" \/><\/a> <a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-attachment.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112562\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-attachment.webp\" alt=\"background attachment\" width=\"1540\" height=\"337\" \/><\/a><\/p>\n<p><strong>5. background-attachment:<\/strong><\/p>\n<p>It sets whether the background image scrolls with the element or is fix in place. Can be set to scroll (the default) or fix.<\/p>\n<p><strong>Example<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* CSS *\/\r\nbody {\r\n    background-image: url(image.jpg);\r\n    background-repeat: no-repeat;\r\n    background-position: center;\r\n    background-attachment: fixed;\r\n    width: 100%;\r\n    height: 100vh;\r\n}\r\n<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* HTML *\/ \r\n&lt;body&gt; \r\n&lt;div&gt;This DataFlair div has a background image that is fixed in place&lt;\/div&gt; \r\n&lt;\/body&gt;<\/pre>\n<p><strong>Output<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-position.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112561\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-position.webp\" alt=\"background position\" width=\"1692\" height=\"425\" \/><\/a><\/p>\n<p><strong>6. background-size:<\/strong><\/p>\n<p>It sets the size of the background image. Can be set to any valid CSS length value or one of the keywords covered or contain.<\/p>\n<p><strong>Example<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* CSS *\/\r\ndiv {\r\n    background-image: url(image.jpg);\r\n    background-repeat: no-repeat;\r\n    background-position: center;\r\n    background-size: contain;\r\n    width: 300px;\r\n    height: 100px;\r\n}\r\n<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* HTML *\/ \r\n&lt;div&gt;This DataFlair div has a background image that is scaled to fit the container&lt;\/div&gt;<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/using-a-shorthand-property.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112560\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/using-a-shorthand-property.webp\" alt=\"using a shorthand property\" width=\"1522\" height=\"422\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h4>7. Using a shorthand property<\/h4>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* CSS *\/\r\ndiv {\r\n    background: blue url(image.jpg) no-repeat center;\r\n}\r\n<\/pre>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">\/* HTML *\/ \r\n&lt;div&gt;This DataFlair div has a blue background with an image in the center that doesn't repeat&lt;\/div&gt;<\/pre>\n<p><strong>Output<\/strong><\/p>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-size.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112559\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-size.webp\" alt=\"background size\" width=\"1681\" height=\"345\" \/><\/a><\/p>\n<h4>8. Background-repeat property:<\/h4>\n<p>CSS background-repeat property is useful to specify how a background image should repeat.<\/p>\n<p>The property can take on the following values:<\/p>\n<ul>\n<li><strong>repeat<\/strong>: The image repeats both horizontally and vertically. This is the default value.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-color.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112551\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-color.webp\" alt=\"background color\" width=\"1277\" height=\"456\" \/><\/a><\/p>\n<ul>\n<li><strong>repeat-x<\/strong>: The image repeats only horizontally.<\/li>\n<li><strong>repeat-y:<\/strong> The image repeats only vertically.<\/li>\n<li><strong>no-repeat:<\/strong> The image does not repeat and only show once.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-repeat.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112557\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-repeat.webp\" alt=\"background repeat\" width=\"1288\" height=\"453\" \/><\/a><\/p>\n<p>An <strong>example<\/strong> of using the background-repeat property to repeat an image only horizontally is:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">.my-div {\r\n  background-image: url('path\/to\/image.jpg');\r\n  background-repeat: repeat-x;\r\n}\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-repeat-property.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112558\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/background-repeat-property.webp\" alt=\"background repeat property\" width=\"1422\" height=\"526\" \/><\/a><\/p>\n<p>An <strong>example<\/strong> of using the background-repeat property to repeat an image only vertically is:<\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">.my-div {\r\n  background-image: url('path\/to\/image.jpg');\r\n  background-repeat: repeat-y;\r\n}\r\n<\/pre>\n<p><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/setting-a-background-image.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-112555\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/setting-a-background-image.webp\" alt=\"setting a background image\" width=\"1290\" height=\"451\" \/><\/a><\/p>\n<p>Cascaded style sheet background properties provide solutions that if known and properly understood would greatly improve the outlook of a web page. For instance, background-size property enables one to design for different screens since it can dynamically resize images depending on the screen size. Likewise, appropriate utilization of the background-attachment property results in the development of visually appealing effects such as parallax scrolling.<\/p>\n<h3>Conclusion<\/h3>\n<p>We can conclude by saying that, CSS background properties provide a lot of flexibility in terms of setting background styles for elements on a web page. Overall, by understanding and effectively using CSS background properties, web developers can create visually appealing and polished websites.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS (Cascading Style Sheets) is a language used to describe the presentation of a document written in a markup language. One of the main features of CSS is the ability to control the background&#46;&#46;&#46;<\/p>\n","protected":false},"author":5,"featured_media":112549,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27226],"tags":[27295],"class_list":["post-112022","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css-tutorials","tag-background-properties-in-css"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS Background Properties - DataFlair<\/title>\n<meta name=\"description\" content=\"CSS background properties provide a lot of flexibility in terms of setting background styles for elements on a web page. Learn more about it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/css-background-properties\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS Background Properties - DataFlair\" \/>\n<meta property=\"og:description\" content=\"CSS background properties provide a lot of flexibility in terms of setting background styles for elements on a web page. Learn more about it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/css-background-properties\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-03-09T03:30:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-29T10:36:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/css-background-properties.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS Background Properties - DataFlair","description":"CSS background properties provide a lot of flexibility in terms of setting background styles for elements on a web page. Learn more about it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/data-flair.training\/blogs\/css-background-properties\/","og_locale":"en_US","og_type":"article","og_title":"CSS Background Properties - DataFlair","og_description":"CSS background properties provide a lot of flexibility in terms of setting background styles for elements on a web page. Learn more about it.","og_url":"https:\/\/data-flair.training\/blogs\/css-background-properties\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2023-03-09T03:30:52+00:00","article_modified_time":"2024-07-29T10:36:25+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/css-background-properties.webp","type":"image\/webp"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823"},"headline":"CSS Background Properties","datePublished":"2023-03-09T03:30:52+00:00","dateModified":"2024-07-29T10:36:25+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/"},"wordCount":443,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/css-background-properties.webp","keywords":["Background Properties in CSS"],"articleSection":["CSS Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/css-background-properties\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/","url":"https:\/\/data-flair.training\/blogs\/css-background-properties\/","name":"CSS Background Properties - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/css-background-properties.webp","datePublished":"2023-03-09T03:30:52+00:00","dateModified":"2024-07-29T10:36:25+00:00","description":"CSS background properties provide a lot of flexibility in terms of setting background styles for elements on a web page. Learn more about it.","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/css-background-properties\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/css-background-properties.webp","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2023\/02\/css-background-properties.webp","width":1200,"height":628,"caption":"css background properties"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/css-background-properties\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"CSS Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/css-tutorials\/"},{"@type":"ListItem","position":3,"name":"CSS Background Properties"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/7f83c342f5d1632d6f7b4b0b0f447823","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4cf3a74600d131330b8c481d519afd1574093ed89f6d3396a95393ad223eb7cd?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"DataFlair Team creates expert-level guides on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our goal is to empower learners with easy-to-understand content. Explore our resources for career growth and practical learning.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam1\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/112022","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=112022"}],"version-history":[{"count":7,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/112022\/revisions"}],"predecessor-version":[{"id":143031,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/112022\/revisions\/143031"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/112549"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=112022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=112022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=112022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}