Both diagrams are ERD diagrams, but use two popular notation variants:
Diagram 1 uses Chen's notation: Chen was the inventor of the ERD concept and used this kind of diagram in his foundational paper, that paved the way to ERD modelling.
Diagram 2 uses Crow's foot notation: This notation was invented by Gordon Everest and was used before relational DBMS to show relationships between files. But its simplicity and intuitive reading quickly made it very popular for ERD.
The two notations can be used interchangeably in most of the cases. However, some advanced ER concepts exist natively in Chen's but cannot be mapped directly to Crow's foot notation (e.g. N-Ary relations, associative entities, weak entities and relations, ...) although some workarounds exist to deal with the limitations