DEV Community

Dinesh G
Dinesh G

Posted on

Day 2 of my JAVA FULL STACK Learning : HTML and CSS

Hi everyone!
This is my very first blog post and Today is my second Day class , How to create Portfolio Project to build a website in JAVA FULL STACK DEVELOPMENT course . I am going to share this project . What I learn today.

HTML ?
HTML(hyper text markup language) It is not a programming. It designed to be displayed in a web browser. CSS and JS are used in HTML.

CSS ?
CSS (Cascading style sheet) css is a style sheet. HTML to used style sheet , To style multi element function is css

Type of CSS?
Inline CSS
External CSS
Internal CSS

Example CSS
containing a div section including style with solid black.
div style="border : 1px solid black; padding:10px;"
this div has a border!
/div

Shortcut key for HTML
shift + 1 insert "!" for default behavior for that file type.
ctrl+/ Command line.
ctrl+shift i for code Alignment

List styling
ordered list <ol>
unordered list <ul>

Alignment The Text in HTML
Align the name in center.
text-align:center

<style>
     header h1{
            text Align:center;
 }
</style>

Enter fullscreen mode Exit fullscreen mode

HTML element
Block element
Inline element

inline list <ul>: Unordered List

link<li> <a href="">about me </a> </li>
li*10

Example

ul{
   list-style-type :none;
  }

Enter fullscreen mode Exit fullscreen mode

a{
text-decoration :none ;

displey flex: to convert the straight line.

This is I learned about today

Top comments (0)