Professional Documents
Culture Documents
CSS326-Lab 6
CSS326-Lab 6
6
More on MySQL & CSS
Instructed By: Mr. Ashan Eranga Kudabalage
Content
Insert data into the tables and try to delete the entry of PersonID = 1 in the
“person” table
Now delete the PersonID = 1 from the “Person” table and check what
happens in “Orders” table
Review on CSS
➢ Basics of CSS
▪ CSS stands for cascading style sheet. It is used to style the content and
the appearance of the Web content. All is about: fonts, colors,
backgrounds, borders, text formatting, link effect, etc.
▪ CSS can be used inline, internal, or indirectly (external) to an HTML
page.
Inline use: The CSS is defined right at the required element within the HTML page.
In order to define the property for that element only.
<!DOCTYPE html>
<html>
<body>
<h1 style="color:blue;">A Blue Heading</h1>
<p style="color:red;">A red paragraph.</p>
</body>
</html>
</body>
</html>
Sirindhorn International Institute of Technology, Bangkadi Date: 3rd of October 2022
21
External use: The CSS content is separated in a .css text file and it is linked
to a HTML page by a structure command.
Project Discussion
Project evaluating criteria and requirements