Codingthai

Codingthai

Link to Media Specific Style Sheets in CSS3

Link to Media Specific Style Sheets in CSS3

We can link to several style sheets in your HTML file and specify that different style sheets be applied for different media using the media attribute. For example, one style sheet could be applied when the document is displayed on…

Apply a style Using an ID in CSS3

We can apply an id attribute to an HTML tag on your page to give it a unique identifier. We can then apply a style to that HTML tag using a special CSS selector for that tag. Using the id…

Apply a style to a tag in CSS3

We can create a CSS rule that applies the style to an HTML tag. For Example, if you want all the paragraphs on your page to have text in the Arial font face with a size of 14 points, you…

Apply a style locally in CSS3

Apply a style locally

We can apply a style to a single instance of the tag in your file using an HTML attribute. The Style attribute enables you to apply a style rule to a tag without having to define the rule separately in…

Link to a Style Sheet in CSS3

We can Link to a Style Sheet to an external style sheet to assign a set of formatting rules to our HTML5 File. We use the <link> tag to specify the filename and location of the style sheet. We can…

Insert special Characters in HTML5

Insert special Characters in HTML5

We can use HTML code to insert special characters into your web page text. Special characters are that do not usually appear on your keyboard. The code used to insert special characters is called entities. Entities consist of numbers are…

Creating a Definition list in HTML 5

Creating a Definition list in HTML 5

We can use a definition list in your document to define content in the format of a glossary or dictionary. Typically items in a definition list come in pairs with the first element being the term to be defined and…

Create a Nested List in HTML 5

We can use a nested list to add a list with a list to your web page. A nested list enables you to display listed text at a different level within the list hierarchy, such as when you are displaying…