wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in

Shabaz

user banner image
profile
Shabaz @shabaz

ResumeBlogsQuestions
Sign in

Top Users

profile

Harsh Rathod

@harshrathod
profile

Shruti Yadav

@shrutiyadav
profile

Aryan Shivekar

@aryanshivekar

Featured Blogs

Ubiquitous Computing

Blog banner

Paralysis/Paralysis Stroke

Blog banner

Threat from Inside: Educating the Employees Against Cyber Threats

Blog banner

Burning Questions

Which is better Computational Intelligence or Artificial Intelligence?

What is Prolog in AI?

Explain trusted system technology?

Contact Us

|

About Us

|

Points nomenclature

|

Terms of service

|

Privacy Policy

|

Cookie Policy
profile

Shabaz

@shabazAug 23, 2017

How to use css with html?

CSS stands for Cascading Style Sheets.CSS describes how HTML elements are to be displayed on screen, paper, or in other media.CSS saves a lot of work. It can control the layout of multiple web pages all at once.CSS can be added to HTML elements in 3 ways:-Inline – by using the style attribute in HTML elements-Internal – by using a element in the section-External – by using an external CSS file 1. Inline CSS:An inline CSS is used to apply a unique style to a single HTML element.An inline CSS uses the style attribute of an HTML element.This example sets the text color of the element to blue:EXAMPLE: This is a BlueHeading 2. Internal CSS:An internal CSS is used to define a style for a single HTML page.An internal CSS is defined in the section of an HTML page, within a element:EXAMPLE: body {background-color:powderblue;}h1 {color: blue;}p {color: red;} This is a heading This is a paragraph. 3. External CSS:An external style sheet is used to define the style for many HTML pages.With an external style sheet, you can change the look of an entire web site, by changing one file!To use an external style sheet, add a link to it in the section of the HTML page:EXAMPLE: This is a heading This is a paragraph.

1 Discussions
387 Reads
profile

Shabaz

@shabazAug 16, 2017

Differentiate between html and html5?

Html Html5 Doctype declaration in Html is too longer<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”> DOCTYPE declaration in Html5 is very simple “<!DOCTYPE html> character encoding in Html is also longer<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.0 Transitional//EN”> character encoding (charset) declaration is also very simple <meta charset=”UTF-8?> Audio and Video are not part of HTML4 Audio and Videos are integral part of HTML5 e.g. <audio> and <video> tags. Vector Graphics is possible with the help of technologies such as VML, Silverlight, Flash etc Vector graphics is integral part of HTML5 e.g. SVG and canvas It is almost impossible to get true GeoLocation of user browsing any website especially if it comes to mobile devices. JS GeoLocation API in HTML5 helps identify location of user browsing any website (provided user allows it) Html5 use cookies. It provides local storage in place of cookies. Not possible to draw shapes like circle, rectangle, triangle. Using Html5 you can draw shapes like circle, rectangle, triangle. Does not allow JavaScript to run in browser. JS runs in same thread as browser interface. Allows JavaScript to run in background. This is possible due to JS Web worker API in HTML5 Works with all old browsers Supported by all new browser.

1 Discussions
480 Reads