Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Aviance School is one of the largest web solutions platform in India for developers to learn and share their programming knowledge and build their careers.
The purpose of the Google Panda algorithm was to provide more quality and credible search results and take out any of the low quality or thin websites that were carrying out unfair black hat SEO.
Triggers for Panda:
The z-index property in CSS controls the vertical stacking order of elements that overlap.
Example:
div { z-index: 9999; /* integer */ }
Empty Div Method:
<div style=”clear:both;”></div>
Overflow Method:
setting auto or hidden overflow property on parent will expand it to contain the floats.
The Psuedo Method:
uses the parent’s :after to add the clear: both property
.clearfix:after {
content: "";
visibility: hidden;
display: block;
height: 0;
clear: both;
}
Likes:
Dislikes:
@ In Less
, which might be confused with native CSS@media or
@import
keywords .The pose-to-pose option is to create a few keyframes throughout the sequence, and then fill in the gaps later. Filling in these gaps is known as “in-betweening,” or “tweening,” a familiar term for those used to animating in Flash.
CSS grouping can be used to condense code that has multiple selectors with the same declarations. This makes code easy to read and maintain. Also it is significantly reduced development time as there is less code to write.The Page loading times is reduced if we’ll use grouping in CSS.
Code Without Grouping:
h1{
font-size: 5px;
color: red;
}
h2{
font-size: 5px;
color: red;
}
h3{
font-size: 5px;
color: red;
}
Code With Grouping:
h1, h2, h3 {
font-size: 5px;
color: red;
}
In the CSS, a class selector is a name preceded by a full stop (“.”)
CSS Syntax:
.class {
css declarations;
}
Example:
.top {
text-align: center;
padding: 20px
background-color: #ccc;
}
The id selector uses the id attribute of an HTML element to select a specific element. The id of an element should be unique within a HTML page.A hash (#) character is used to create the id of the element.
CSS Syntax:
#id {
css declarations;
}
Example:
#top {
text-align: center;
padding: 20px
background-color: #ccc;
}
The advantages of Embedded Style Sheets.
* Classes can be created for use on multiple tag types in the HTML document.
* Selector and grouping methods can be used to apply styles under complex contexts
* No additional downloads necessary to receive style information
The descendant selector matches all elements that are descendants of a specified element.
Some Examples:
ul li { }
header h1 { }
footer p { }
If we consider as ul li { } that means “any list item that is a descendant of an unordered list.” Descendant means anywhere nested within it in the DOM tree or object. It could be a direct child Or could be five levels deep, it is still a descendant.
CSS universal selectors select any type of elements in an HTML page.An asterisk ( “*” ) is used to define a CSS universal selector.
/* Selects all elements */
* {
color: red;
}
Embedded style sheets allow you to define styles for the whole HTML page in one place.Use the HTML <style> element to define Embedded style sheets.
<html>
<head>
<style>
h1 {
color: red;
font-family: verdana;
font-size: 24px;
}
p {
color: black;
font-family: courier;
font-size: 16px;
}
</style>
</head>
<body>
<h1>Welcome to my website.</h1>
<p>Thank you so much.</p>
</body>
</html>
A CSS rule-set consists of a selector and it’s declaration block.
In the following example all <p> elements will be center-aligned, with a red text black:
Here <p> is a selector and {color: #000; text-align: center;} is declaration block.
p {
color: #000;
text-align: center;
}
The CSS type selector matches elements by tag name.A CSS selector is the part of a CSS rule set.
To update design all paragraphs on the page, we can use a type selector:
CSS (Cascading Style Sheets) is a language that describes the style of an HTML page. CSS describes how HTML elements should be displayed.
Google penguin is also called the Over Optimization Penalty. The goal of this algorithm was to increase more prominent authority over and diminish the adequacy of various black hats spamming techniques. It punishes for the Spam or irrelevant links. One cannot just get links from anywhere.
Penguin updates:
Penguin 1 on April 24, 2012
Penguin 2 on May 26, 2012
Penguin 3 on October 5, 2012
Penguin 4 on May 22, 2013
Penguin 5 on October 4, 2013
Penguin 6 on October 17, 2014
Penguin 7 on September 23, 2016
HTTPS (Hyper Text Transfer Protocol Secure) appears in the URL when a website is secured by an SSL certificate.
You can move your site from HTTP to HTTPS address by installing SSL . Just you have to choose what kind of SSL is suited or required to your business.
If SSL certificate installed on your web server all your communications between web browser and web server are authenticated & encrypted.
SSL enabled Website get the following benefits:
i) Identity authentication : Server verifies the client’s authentication by verifying the SSL certificate.
ii) Privacy : All information during transit between browser and server kept private & encrypted.
iii) Data integrity : The sending or receiving message between web browser and server cannot be altered by others.