Powered by Tech-Attacks
Showing posts with label HTML. Show all posts
Showing posts with label HTML. Show all posts

How to Use Character Entities in CSS and HTML and JavaScript

Sometimes, when using scripts, we must write special characters like accents by using a special set of codes called character entities, however these don't always look good or we get a question mark or other strange symbols. Usually, this is solved if the character encoding is done right but the logic may not always work.

In Blogger, special characters most of the time appear correctly, but when it is about other services, like external files, things can get complicated.

For example, this usually looks good and when you click script the below code, you should see the letters in the right way:
alert(" á é í ó ú ☺ ✛ ❤ ");

Basics of CSS - Cascading Style Sheets - Introduction to CSS with example

CSS is the acronym for: ‘Cascading Style Sheets’.
CSS is an extension to basic HTML that allows you to style your web pages
in other words we can say
CSS stands for Cascading Style Sheets
Styles

It defines how to display HTML elements
Styles were added to HTML 4.0 to solve a problem
External Style Sheets can save a lot of work
External Style Sheets are stored in CSS files.


Before you continue you should have a basic understanding of the following HTML
If you want to learn HTML Basics first then
Click Here for -> HTML Basics - HTML Introduction Different versions of HTML.
Click Here for -> Introduction to HTML Tags, Attributes and Elements - HTML "Hello World" Program.

Introduction to HTML Tags, Attributes and Elements - HTML "Hello World" Program

Hello Readers, Today TechAttacks will show you the Introduction to HTML Tags, Attributes and Elements & HTML "Hello World" Program.
 
The basic structure of an HTML document includes tags, which surround content and apply meaning to it.


<html>
<body> 
  Hello World (Content / WebPage)
</body>
</html>

HTML Basics - HTML Introduction - Different Versions of HTML

HTML Basics - HTML Introduction - Different Versions of HTML
What is HTML?
HTML is a language for describing web pages.
HTML stands for Hyper Text Markup Language
HTML is a markup language
A markup language is a set of markup tags
The tags describe document content
HTML documents contain HTML tags and plain text
HTML documents are also called web pages.