My Blog

    • Sample Page
Illustration of a bird flying.
  • CSS max-lines Property

    The CSS max-lines property is used to limit a block content to a maximum number of lines before being cropped out. The max-lines property can create a clamping effect with the block-overflow property. Let’s remember that the line-clamp property is a shorthand for the max-lines and the block-overflow properties. The max-lines property is also called “limiting visible lines”, because the content falling within the maximum number of lines isn’t…

    October 27, 2022
  • Javascript with DOM

    What is DOM The Document Object Model (DOM) is a way to represent a programming interface for HTML and XML documents. With the help of DOM we can gain and manipulate tags, classes using commands of Documents object. It gives an opportunity to connect programming languages to the page. DOM Document Web page is a document, which we can…

    October 27, 2022
  • Javascript comments

    We usually use JavaScript comments for explaining JavaScript code and making it more readable. They also can be used to prevent execution during testing alternative code. There are exists two types of comments: single line comments and multi-line comments. The example which you see here uses a single-line comment before each code line: We use…

    October 27, 2022
  • Start using Javascript

    Writing Your First JavaScript Program HTML can’t do the math, it can’t figure out if someone has correctly filled out a form. HTML just let people read the text, watch videos, look at pictures, and click links. You need JavaScript to add intelligence to your web pages so they can respond to your site’s visitors.…

    October 27, 2022
  • JavaScript Introduction

    What is JavaScript? JavaScript is a high-level, dynamic, lightweight, interpreted computer programming language. It’s designed for creating network-centric apps. It has made modern web apps possible— apps with which you can interact directly without doing a page reload for every action. It’s also used in more traditional websites to provide different forms of interactivity and…

    October 27, 2022
  • CSS max-lines Property

    The CSS max-lines property is used to limit a block content to a maximum number of lines before being cropped out. The max-lines property can create a clamping effect with the block-overflow property. Let’s remember that the line-clamp property is a shorthand for the max-lines and the block-overflow properties. The max-lines property is also called “limiting visible lines”, because the content falling within the maximum number of lines isn’t…

    October 26, 2022
  • CSS max-height Property

    The max-height property is used to set the maximum height of an element. This property prevents the height property’s value from becoming larger than the value specified for max-height. The max-height property overrides the height property, and min-height property overrides the max-height property. Initial Value none Applies to All elements, but non-replaced inline elements, table columns, and column groups. Inherited No. Animatable Yes. Height is animatable. Version CSS2…

    October 26, 2022
  • CSS margin-top Property

    The margin-top property is used to define the top margin of an element. The top and bottom margins of an element can collapse into one, which is equal to the largest of the two margins. However, this happens only in the case of vertical margins. Negative values are allowed. Initial Value 0 Applies to All elements. It…

    October 26, 2022
  • CSS margin-right Property

    The margin-right property is used to define how much the right margin of the element will be set. Initial Value 0 Applies to All elements. It also applies to ::first-letter. Inherited No. Animatable Yes. Right margin of the element is animatable. Version CSS2 DOM Syntax object.style.marginRight = “50px”; Syntax Example of the margin-right property: Result Example of the margin-right property…

    October 26, 2022
  • CSS margin-left Property

    The margin-left property is used to define how much the left margin of the element will be set. There are some rare situations when width, margin-left, border, padding, the content area and margin-right are defined. When it happens, the margin-left will be ignored and it will be set as if the auto value is defined. The margin-left property is defined as the keyword <auto>, <percentage> or a…

    October 26, 2022
←Previous Page
1 … 61 62 63 64 65 … 113
Next Page→

My Blog

Proudly powered by WordPress