CSS Basics

Making bold the whole paragraph.

<p style="font-weight: bold;">This is a bold paragraph.</p>

Making a word italic.

This is the <span style="font-style:italic;">greatest</span> web page I’ve made yet.

Using an internal style sheet.

<!doctype html>
<title>Using an internal style sheet.</title>
<style type=”text/css”>
div {
      font-weight: bold;
span {
      font-style: italic;

            <div>This is my web page.</div>

Using an external style sheet.

<link rel="stylesheet" type="text/css" href="path_to_style_sheet/style.css">


Popular posts from this blog

Fatal: LoadModule: error loading module 'mod_sql_mysql.c'

Regular Expression Route Constraints And Route Names in Laravel 5.4