DEV Community

VIDHYA VARSHINI
VIDHYA VARSHINI

Posted on

Stepping into the adventure of Full Stack Java : Basics of HTML & CSS

Front End:
HTML :
● It stands for HyperText Markup Language.
● Standard for creating all web pages.
● Skeleton of a web page and own websites can be created using HTML.
● It tells the browser how the content to be displayed.

● There are two types of tags
Opening tag ( <html> )
Closing tag ( </html>)
To save a file in html, it should be named as sample.html.

<html>
<head>
<title>Learning HTML & CSS</title>
</head>

<body>
  <h1>FULL STACK</h1>
  <h6>FULL STACK</h6>
</body>
</html>
Enter fullscreen mode Exit fullscreen mode

Version used : HTML5

CSS :
● It stands for Cascading Style Sheet.
● It is a style attribute.
● This helps in changing colours, font, sizes of HTML elements.

Types of CSS:
● Internal CSS
● Inline CSS
● External CSS

Inline CSS : Adding directly to HTML element using style attribute.
Internal CSS : Adding HTML file, using a <style> tag inside

section.
External CSS : HTML file can be linked through a separate.css file by using <link> tag inside the section.

Types of CSS Selectors:
● Simple selector
● Attribute Selector
● Combined Selectors

Alternatives of HTML :
● XML (eXtensible Markup Language)
● XHTML

Alternatives of CSS:
● CSS Preprocessor
● Inline Style

Shortcut for power off in Linux : Ctrl + Alt + Del

Top comments (0)