Skip to main content

Posts

Showing posts from September, 2019

CSS BASIC

CASCADING STYLE SHEETS(CSS) Cascading Style Sheets is a simple design language intended to simplify the process of making web pages presentable. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used, layout designs, variations in display for different devices and screen sizes as well as a variety of other effects. TYPES OF CSS • Inline CSS •Internal CSS •External CSS Example: Inline CSS <!DOCTYPE html> <html> <head> <title> Inline CSS </title> </head> <body> <h1> Introduction to CSS</h1> <p style=“color:red”> Hello LPU</p> <p style= “color:red”> Welcome to CSS</p> <body> </html> Example: Internal CSS <!DOCTYPE html> <html> <head> <title> CSS Internal </title> <style> p { color:red; } h1 { bac

HTML BASIC

Fundamentals of HTML HTML stands for Hypertext Markup Language,and it is the most widely used language to write Web Pages. Hypertext refers to the way in which Web pages(HTML  documents) are linked together. Thus the link available on a webpage are called Hypertext. <!DOCTYPE html> <html> <head> <title>This is document title</title> </head>  <body> <h1>This is a heading</h1> <p>Document content goes here.....</p> </body> </html> As told earlier, HTML is a markup language and makes use of various tags to format the content. These tags are enclosed within angle braces <Tag Name>. Except few tags, most of the tags have their corresponding closing tags. For example <html> has its closing tag </html> and <body> tag has its closing tag </body> tag etc. A typical HTML document will have following structure: Document declaration tag <html> <head> Document header r